diff options
| author | 2024-08-02 13:23:35 +0800 | |
|---|---|---|
| committer | 2024-08-02 13:23:35 +0800 | |
| commit | e03422873a1788137f120d9c8f34b2be079f0aee (patch) | |
| tree | f52775951aed0c594a6b1ca4c9432f3bba74ecac /themes/hugo-xmag/layouts/partials/footer.html | |
| parent | 2b8db24f956ad99305860c2f8f4cd3a331a76dc6 (diff) | |
| download | journal-e03422873a1788137f120d9c8f34b2be079f0aee.tar.gz journal-e03422873a1788137f120d9c8f34b2be079f0aee.zip | |
docs: build with hugo
Diffstat (limited to 'themes/hugo-xmag/layouts/partials/footer.html')
| -rw-r--r-- | themes/hugo-xmag/layouts/partials/footer.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/themes/hugo-xmag/layouts/partials/footer.html b/themes/hugo-xmag/layouts/partials/footer.html new file mode 100644 index 0000000..6071ad6 --- /dev/null +++ b/themes/hugo-xmag/layouts/partials/footer.html @@ -0,0 +1,34 @@ +<script async src="//yihui.org/js/center-img.js"></script> + +<footer> +{{ partial "foot_custom.html" . }} +<div class="footer"> + <ul class="menu"> + {{ range .Site.Menus.main }} + <li><a href="{{ .URL | relURL }}"><span data-hover="{{ .Name }}">{{ .Name }}</span></a></li> + {{ end }} + </ul> + {{ with .Site.Params.footer }} + <div class="copyright">{{ . | markdownify }}</div> + {{ end }} +</div> +</footer> + +{{ if and (not .Params.disable_mathjax) (or (in (string .Content) "\\") (in (string .Content) "$")) }} +<script src="//yihui.org/js/math-code.js"></script> +<script async src="//mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script> +{{ end }} + +{{ if and (not .Params.disable_highlight) (in (string .Content) "</pre>") }} +<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> +<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/r.min.js"></script> +<script> +hljs.configure({languages: []}); +hljs.initHighlightingOnLoad(); +</script> +{{ end }} + +{{ template "_internal/google_analytics.html" . }} + +</body> +</html> |