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

13 lines
374 B
HTML
Raw Permalink Normal View History

2022-12-15 22:36:40 +01:00
{{ 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" . }}