summaryrefslogtreecommitdiff
path: root/views/layouts/general-page.html
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <145215889+SayaAndy@users.noreply.github.com> 2026-05-12 13:57:39 +0700
committerGravatar GitHub <noreply@github.com> 2026-05-12 13:57:39 +0700
commit55f0ca98d42b3d540870dc1c9430b9a26ff19807 (patch)
tree756632c81559085706e0cd4651943629180fa0ec /views/layouts/general-page.html
parent978e9aa66d15a503cb7dd6f547ceba1d7918d1bf (diff)
parent8b2aeaa3e83a2bc0d70c4d8d803f0dc1ef049c47 (diff)
downloadweb-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/general-page.html')
-rw-r--r--views/layouts/general-page.html4
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}}" />