mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Improve <title>
This commit is contained in:
parent
925b8960a8
commit
2776395a33
1 changed files with 4 additions and 1 deletions
|
@ -23,6 +23,9 @@
|
||||||
{{ printf `<link rel="stylesheet" href="/css/syntax.css">` | safeHTML }}
|
{{ printf `<link rel="stylesheet" href="/css/syntax.css">` | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ if eq .RelPermalink "/" -}}
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
|
{{ else -}}
|
||||||
|
<title>{{ .Title }} - Seirdy</title>
|
||||||
|
{{ end -}}
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue