mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-10-24 22:22:34 +02:00
Merge branch 'base' into develop
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
</script>
|
||||
{{- end }}
|
||||
|
||||
{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (not .Site.Params.disableCodeCopy)) }}
|
||||
{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (.Site.Params.ShowCodeCopyButtons)) }}
|
||||
<script>
|
||||
document.querySelectorAll('pre > code').forEach((codeblock) => {
|
||||
const container = codeblock.parentNode.parentNode;
|
||||
|
||||
Reference in New Issue
Block a user