dependencies: make it work in the header #682

This commit is contained in:
Sören Weber 2023-10-11 23:58:25 +02:00
parent 93b80d0ee1
commit c6db1f061d
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,7 @@
<title>{{ $title }}</title>
<base href="{{ .Site.BaseURL }}">
{{- partialCached "favicon.html" . }}
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) .RelPermalink $outputFormat }}
<style>
p {
text-align: center

View file

@ -62,7 +62,7 @@
{{- end }}
{{- partialCached "favicon.html" . }}
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) .RelPermalink $outputFormat }}
{{- partial "custom-header.html" . }}
</head>
<body class="mobile-support {{ $outputFormat }}{{- if .Site.Params.disableInlineCopyToClipBoard }} disableInlineCopyToClipboard{{ end }}{{- if .Site.Params.disableHoverBlockCopyToClipBoard }} disableHoverBlockCopyToClipBoard{{ end }}" data-url="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}">

View file

@ -1,4 +1,5 @@
{{- $currentNode := . }}
{{- $forceContent := $currentNode.WordCount }}
{{- $currentNode.Scratch.Delete "relearnIsSelfFound" }}
{{- $currentNode.Scratch.Delete "relearnPrevPage" }}
{{- $currentNode.Scratch.Delete "relearnNextPage" }}