diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 9e1e4ce..7ee282a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,6 +6,10 @@ <title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }}</title> + {{ if .Params.canonical }} + <link rel="canonical" href="{{ .Params.canonical }}"> + {{ end }} + <!-- CSS --> {{ $purecss := "https://cdnjs.cloudflare.com/ajax/libs/pure/1.0.0/" }} <link rel="stylesheet" href="{{ $purecss }}pure-min.css"> |