diff --git a/layouts/partials/head/others.html b/layouts/partials/head/others.html index 0365c0b..a9c9f34 100644 --- a/layouts/partials/head/others.html +++ b/layouts/partials/head/others.html @@ -59,8 +59,12 @@ media="all" /> -{{ if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }} +{{- with .OutputFormats.Get "html" }} + {{ printf `` .Permalink .Rel .MediaType.Type | safeHTML }} +{{- end }} + +{{- if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }} -{{ end }} +{{- end }} {{ printf "" "Made with Geekdoc theme https://github.com/thegeeklab/hugo-geekdoc" | safeHTML }}