layout/partials/footer.html: add prismjs stuff to footer.html

This commit is contained in:
revsuine 2024-11-20 00:49:19 +00:00
parent d1942dc2bf
commit 2a189f340c
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339

View file

@ -8,3 +8,11 @@ Generated with <a href="https://gohugo.io/">Hugo</a>. Website source available
href="https://github.com/panr/hugo-theme-terminal">Theme</a> by <a href="https://github.com/panr/">panr</a>, which is
licensed under the <a href="https://github.com/panr/hugo-theme-terminal/blob/master/LICENSE.md">MIT licence</a>.</p>
</footer>
{{ $menu := resources.Get "js/menu.js" | js.Build }}
{{ $prism := resources.Get "js/prism.js" | js.Build }}
{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }}
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>