diff options
| author | 2026-05-12 13:57:39 +0700 | |
|---|---|---|
| committer | 2026-05-12 13:57:39 +0700 | |
| commit | 55f0ca98d42b3d540870dc1c9430b9a26ff19807 (patch) | |
| tree | 756632c81559085706e0cd4651943629180fa0ec | |
| parent | 978e9aa66d15a503cb7dd6f547ceba1d7918d1bf (diff) | |
| parent | 8b2aeaa3e83a2bc0d70c4d8d803f0dc1ef049c47 (diff) | |
| download | web-0.15.8.tar.gz web-0.15.8.zip | |
v0.15.8 (#39)v0.15.8
* [fix: add title property in
head](https://github.com/SayaAndy/saya-today-web/commit/8b2aeaa3e83a2bc0d70c4d8d803f0dc1ef049c47)
| -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" |