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

@ -53,12 +53,13 @@ a {
}
a:hover {
background-color: var(--hovercolor);
color: #fff;
background-color: var(--hovercolor);
color: #fff;
}
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 -}}