Re-enable pygments and add copy-code button

This commit is contained in:
Dave Gallant
2023-12-17 18:53:46 -05:00
parent e7fc123bfe
commit bbf6a152e0
89 changed files with 1449 additions and 940 deletions

View File

@@ -11,6 +11,9 @@
<div class="footer-info">
{{ dateFormat "2006" now }} {{ with .Site.Copyright }} {{ . }} {{ end }}
</div>
{{ if (findRE "<pre" .Content 1) }}
<script src="/js/copy-code-button.js"></script>
{{ end }}
</footer>
{{ if not .Site.IsServer }} {{ template "_internal/google_analytics.html" . }}
{{ end }} {{- if (isset .Site.Params "social") -}}