feat: add canonical link to head (#331)
This commit is contained in:
parent
a901b3da36
commit
e100ccf034
1 changed files with 6 additions and 2 deletions
|
@ -59,8 +59,12 @@
|
||||||
media="all"
|
media="all"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{{ if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }}
|
{{- with .OutputFormats.Get "html" }}
|
||||||
|
{{ printf `<link href=%q rel=%q type=%q />` .Permalink .Rel .MediaType.Type | safeHTML }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }}
|
||||||
<base href="{{ .Site.BaseURL }}" />
|
<base href="{{ .Site.BaseURL }}" />
|
||||||
{{ end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ printf "<!-- %s -->" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }}
|
{{ printf "<!-- %s -->" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }}
|
||||||
|
|
Loading…
Reference in a new issue