From 5b9a797aabbadbcf19da1b1b69faab47cabeba9e Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Thu, 25 Feb 2021 00:05:51 +0100 Subject: [PATCH] add pgp key footer --- layouts/partials/footer.html | 86 ++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 layouts/partials/footer.html diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..f3b5555 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,86 @@ + + + + +{{- partial "extend_footer.html" . -}} +{{- $isHLJSdisabled := (.Site.Params.assets.disableHLJS | default .Params.disableHLJS ) }} +{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (not $isHLJSdisabled)) }} +{{- if not .Site.Params.assets.disableFingerprinting }} +{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint }} + +{{- else}} +{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify }} + +{{- end}} +{{- end }} + +{{- if (not .Site.Params.disableThemeToggle) }} + +{{- end }}