change home page title

This commit is contained in:
fruworg 2023-07-29 21:24:47 +05:00
parent aa6267869c
commit cc0176b589
2 changed files with 4 additions and 3 deletions

View File

@ -59,6 +59,7 @@ a:hover {
ul {
list-style: none;
padding-left: 0;
}
ul li {

View File

@ -4,7 +4,7 @@
{{- $title := ( .Title ) -}}
{{- $siteTitle := ( .Site.Title ) -}}
{{- if .IsHome -}}
<title>{{ $siteTitle }} | Home </title>
<title>{{ $siteTitle }}</title>
{{- else -}}
<title>{{ $title }} - {{ $siteTitle }}</title>
{{- end -}}