Welcome to mirror list, hosted at ThFree Co, Russian Federation.

head.html « partials « layouts - github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 69a5054dac558096bed2d9f076c402a681654758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ 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" . }}