From 2a189f340c2ff29dd99a8b9401ad91f97f4f1fb1 Mon Sep 17 00:00:00 2001 From: revsuine Date: Wed, 20 Nov 2024 00:49:19 +0000 Subject: [PATCH] layout/partials/footer.html: add prismjs stuff to footer.html --- layouts/partials/footer.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8b2f41a..36c2506 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -8,3 +8,11 @@ Generated with Hugo. Website source available href="https://github.com/panr/hugo-theme-terminal">Theme by panr, which is licensed under the MIT licence.

+ +{{ $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 }} + + +