cach-radio/inc/themes/castanet/layouts/partials/head.html

13 lines
374 B
HTML

{{ partial "meta.html" . }}
{{ partial "seo.html" . }}
<title>
{{- $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" -}}
{{- if eq $url "/" -}}
{{ .Site.Title }}
{{- else -}}
{{ if .Params.Heading }}{{ .Params.Heading }}{{ else }}{{ .Title }}{{ end }}
{{- end -}}
</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "head_includes.html" . }}