Skip to content

Commit

Permalink
[ZZO] Do not override blog title with title for index page
Browse files Browse the repository at this point in the history
The new title was used in the breadcrumb.
Too long name breaks displaying on mobile:
zzossig#225
  • Loading branch information
szpak committed Mar 9, 2020
1 parent 07623c2 commit d13d10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "title" }}
{{ if .Page.Title }}
{{ .Page.Title }}
{{ if .Params.IndexTitle }}
{{ .Params.IndexTitle }}
{{ else }}
{{ .Site.Title }}
{{ end }}
Expand Down

0 comments on commit d13d10c

Please sign in to comment.