layout/partials/footer.html: add prismjs stuff to footer.html
This commit is contained in:
parent
d1942dc2bf
commit
2a189f340c
1 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue