Files
cocoa-eh-hugo-theme/layouts/partials/head.html
Nishanth Shanmugham 7262e07657 Fix page titles
2015-08-24 23:36:26 -05:00

15 lines
351 B
HTML

<head>
{{ partial "meta.html" . }}
<base href="{{ .Site.BaseUrl }}">
<title>
{{ $url := replace .Permalink ( printf "%s" .Site.BaseUrl) "" }}
{{ if eq $url "/" }}
{{ .Site.Title }}
{{ else }}
{{ .Title }} &middot; {{ .Site.Title }}
{{ end }}
</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "head_includes.html" . }}
</head>