diff options
| author | 2026-05-12 13:16:12 +0700 | |
|---|---|---|
| committer | 2026-05-12 13:16:12 +0700 | |
| commit | 8b2aeaa3e83a2bc0d70c4d8d803f0dc1ef049c47 (patch) | |
| tree | 756632c81559085706e0cd4651943629180fa0ec | |
| parent | 19b9ff9ab13094fc51caecd0ca32fbbf6bdf4db3 (diff) | |
| download | web-8b2aeaa3e83a2bc0d70c4d8d803f0dc1ef049c47.tar.gz web-8b2aeaa3e83a2bc0d70c4d8d803f0dc1ef049c47.zip | |
fix: add title property in head
| -rw-r--r-- | views/layouts/general-page.html | 4 | ||||
| -rw-r--r-- | views/pages/global-map.html | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/views/layouts/general-page.html b/views/layouts/general-page.html index d787c16..4230a57 100644 --- a/views/layouts/general-page.html +++ b/views/layouts/general-page.html @@ -13,7 +13,9 @@ .Content}}content="{{.}}" {{end}} /> - {{- if eq .Property "og:description" }} + {{- if eq .Property "og:title" }} + <title>{{.Content}} // SAYA.UZ</title> + {{- end }} {{- if eq .Property "og:description" }} <meta name="description" content="{{.Content}}" /> {{- end }} {{- if eq .Property "og:url" }} <link rel="canonical" href="{{.Content}}" /> diff --git a/views/pages/global-map.html b/views/pages/global-map.html index 1501111..a6dc006 100644 --- a/views/pages/global-map.html +++ b/views/pages/global-map.html @@ -4,6 +4,7 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="{{ .L.GlobalMap.Description }}" /> + <title>{{ .L.GlobalMap.Header }} // SAYA.UZ</title> <meta property="og:title" content="{{ .L.GlobalMap.Header }}" /> <meta property="og:description" |