diff options
| author | 2026-05-12 13:57:39 +0700 | |
|---|---|---|
| committer | 2026-05-12 13:57:39 +0700 | |
| commit | 55f0ca98d42b3d540870dc1c9430b9a26ff19807 (patch) | |
| tree | 756632c81559085706e0cd4651943629180fa0ec /views/layouts | |
| 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)
Diffstat (limited to 'views/layouts')
| -rw-r--r-- | views/layouts/general-page.html | 4 |
1 files changed, 3 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}}" /> |