diff options
| author | Ahmed Abdelhalim <[email protected]> | 2024-02-11 23:46:54 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2024-02-12 00:01:03 +0100 |
| commit | 971cebd642b290a9b3524b1f407199cb7daaca02 (patch) | |
| tree | c79c5479b857ba32248d776b6faa14e757fead48 | |
| parent | c48a0225de46026b45e2029d86255ac0c3bd5a1d (diff) | |
Update header title
| -rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 95267c6..9b0edef 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,11 @@ <!DOCTYPE html> <html lang="{{ .Site.LanguageCode }}"> <head> + {{if .IsHome }} + <title>{{ .Title }}</title> + {{ else }} <title>{{ .Site.Title }} | {{ .Title }}</title> + {{ end }} {{ $web := resources.Get "scss/web.scss" }} {{ $style := $web | toCSS | minify | fingerprint }} <link rel="stylesheet" href="{{ $style.Permalink }}" media="all" integrity="{{ $style.Data.Integrity }}"> |
