runtimeterror/layouts/partials/footer.html

22 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2024-06-24 21:26:57 +00:00
<span class="footer_slashes">{"<a href="/slashes/" title="slashpages">/slashes</a>": [{{- range $i, $link := .Site.Params.slashPages }}{{ if $i }}, {{ end }}&quot;<a href="{{ $link.url }}" title="{{ $link.label }}">{{ $link.title }}</a>&quot;{{ end }}]}</span>
<br><span class="copyright" xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/">{"copyright": ["content": "<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="license noopener noreferrer" title="Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International">CC BY-NC-SA 4.0↗</a>", "code": "<a href="https://github.com/jbowdre/runtimeterror/blob/main/LICENSE" rel="license noopener noreferrer" title="MIT License">MIT↗</a>"]}</span>
<br><span class="footer_links">&lt;<a href="https://github.com/jbowdre/runtimeterror">view source↗</a>&gt;</span>
2023-10-21 21:13:44 +00:00
2024-01-16 20:12:57 +00:00
<!-- Back to Top button via https://github.com/vfeskov/vanilla-back-to-top -->
{{ $jsToTop := resources.Get "js/back-to-top.js" | minify }}
<script src="{{ $jsToTop.RelPermalink }}"></script>
2024-01-22 03:16:15 +00:00
<script>addBackToTop()</script>
2024-01-16 20:12:57 +00:00
<!-- Search index via https://victoria.dev/blog/add-search-to-hugo-static-sites-with-lunr/ -->
2024-01-15 22:02:30 +00:00
{{ partial "search-index.html" .}}
2024-01-16 20:12:57 +00:00
<!-- Code Copy button via https://digitaldrummerj.me/hugo-add-copy-code-snippet-button/ -->
2023-10-21 21:13:44 +00:00
{{ if (findRE "<pre" .Content 1) }}
2023-11-05 01:49:39 +00:00
{{ $jsCopy := resources.Get "js/code-copy-button.js" | minify }}
2024-08-04 18:20:08 +00:00
<script src="{{ $jsCopy.RelPermalink }}" async></script>
2023-10-21 21:13:44 +00:00
{{ end }}
2024-08-15 20:56:47 +00:00
<!-- theme switch -->
{{ $themeToggle := resources.Get "js/set-theme.js" | minify }}
<script src="{{ $themeToggle.RelPermalink }}"></script>