1
0
Fork 0
mirror of https://github.com/panr/hugo-theme-terminal.git synced 2025-03-14 18:29:03 +03:00

layouts/_default: baseof: Show subtitle in homepage title.

Make it match the other titles + subtitle is meant to be showed.

Signed-off-by: Siddh Raman Pant <25429745+siddhpant@users.noreply.github.com>
This commit is contained in:
Siddh Raman Pant 2025-01-26 15:06:08 +05:30
parent 8b6fdb7854
commit bde3296225
No known key found for this signature in database
GPG key ID: 7ADE987C39665DB4

View file

@ -4,7 +4,7 @@
{{ block "title" . }}
<title>
{{ if .IsHome }}
{{ $.Site.Params.Title }}
{{ $.Site.Params.Title }} :: {{ $.Site.Params.Subtitle }}
{{ else }}
{{ .Title }} :: {{ $.Site.Params.Title }}
{{ end }}