mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 22:30:40 +00:00
feat: add canonical link to head (#331)
This commit is contained in:
parent
a901b3da36
commit
e100ccf034
@ -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 New Issue
Block a user