Skip to content

Commit

Permalink
Merge pull request #528 from devopsdays/yvovandoorn/EnableCustomTitles
Browse files Browse the repository at this point in the history
Fix head template to allow custom titles
  • Loading branch information
KrisBuytaert committed Jun 5, 2016
2 parents 60ce0cd + 565df61 commit 426d1ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion themes/devopsdays-responsive/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
{{ if eq $url "/" }}
{{ .Site.Title }}
{{ else }}
{{ if .Params.Heading }} {{ .Params.Heading }} {{ else }} {{ .Title }} {{ end }}
{{ if .Params.heading }} {{ .Params.heading }}
{{ else }} {{ .Title }}
{{ end }}
{{ end }}
</title>
<link rel="canonical" href="{{ .Permalink }}">
Expand Down

0 comments on commit 426d1ee

Please sign in to comment.