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 { a:hover {
background-color: var(--hovercolor); background-color: var(--hovercolor);
color: #fff; color: #fff;
} }
ul { ul {
list-style: none; list-style: none;
padding-left: 0;
} }
ul li { ul li {

View File

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