mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
dependencies: make it work in the header #682
This commit is contained in:
parent
93b80d0ee1
commit
c6db1f061d
3 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
<title>{{ $title }}</title>
|
<title>{{ $title }}</title>
|
||||||
<base href="{{ .Site.BaseURL }}">
|
<base href="{{ .Site.BaseURL }}">
|
||||||
{{- partialCached "favicon.html" . }}
|
{{- partialCached "favicon.html" . }}
|
||||||
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
|
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) .RelPermalink $outputFormat }}
|
||||||
<style>
|
<style>
|
||||||
p {
|
p {
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- partialCached "favicon.html" . }}
|
{{- partialCached "favicon.html" . }}
|
||||||
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
|
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) .RelPermalink $outputFormat }}
|
||||||
{{- partial "custom-header.html" . }}
|
{{- partial "custom-header.html" . }}
|
||||||
</head>
|
</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" .) }}">
|
<body class="mobile-support {{ $outputFormat }}{{- if .Site.Params.disableInlineCopyToClipBoard }} disableInlineCopyToClipboard{{ end }}{{- if .Site.Params.disableHoverBlockCopyToClipBoard }} disableHoverBlockCopyToClipBoard{{ end }}" data-url="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}">
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{- $currentNode := . }}
|
{{- $currentNode := . }}
|
||||||
|
{{- $forceContent := $currentNode.WordCount }}
|
||||||
{{- $currentNode.Scratch.Delete "relearnIsSelfFound" }}
|
{{- $currentNode.Scratch.Delete "relearnIsSelfFound" }}
|
||||||
{{- $currentNode.Scratch.Delete "relearnPrevPage" }}
|
{{- $currentNode.Scratch.Delete "relearnPrevPage" }}
|
||||||
{{- $currentNode.Scratch.Delete "relearnNextPage" }}
|
{{- $currentNode.Scratch.Delete "relearnNextPage" }}
|
||||||
|
|
Loading…
Reference in a new issue