fix final js error, and try to get the style overlay to work :(

This commit is contained in:
Greg Gauthier 2021-04-03 18:39:35 +01:00
parent 48dd51960f
commit 074428d618
2 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ paginate = 10
[params] [params]
subtitle = "A Journal" subtitle = "A Journal"
brand = "<img src=\"/img/ipse-solus-logo.png\" alt=\"\"/><br/> <center>Ipse Solus</center>" brand = "<img src=\"/img/ipse-solus-logo.png\" alt=\"\"/><br/> <center>Ipse Solus</center>"
highlightjs = "tomorrow" highlightjs = "default"
highlightjs_extra_languages = ["yaml"] highlightjs_extra_languages = []
custom_js = ["js/math-code.js"] custom_js = ["js/math-code.js"]
dateFormat = "02 Jan 2006, 15:04" dateFormat = "02 Jan 2006, 15:04"

View File

@ -52,7 +52,7 @@
{{ range $.Site.Params.highlightjs_extra_languages }} {{ range $.Site.Params.highlightjs_extra_languages }}
<script async src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/languages/{{ . }}.min.js"></script> <script async src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/languages/{{ . }}.min.js"></script>
{{ end }} {{ end }}
<script>hljs.initHighlightingOnLoad();</script> <!-- <script>hljs.initHighlightingOnLoad();</script> -->
{{ end }} {{ end }}
{{ partial "favicon.html" . }} {{ partial "favicon.html" . }}