Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/components/doc-layout.html')
-rw-r--r--layouts/partials/components/doc-layout.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/components/doc-layout.html b/layouts/partials/components/doc-layout.html
index cf434b3..3740e91 100644
--- a/layouts/partials/components/doc-layout.html
+++ b/layouts/partials/components/doc-layout.html
@@ -42,9 +42,9 @@
<script>
document.addEventListener('DOMContentLoaded', () => {
- {{/* highlight */}}
+ {{/* highlight.js */}}
{{- if eq .Site.Params.highlight.handler "highlightjs" }}
- hljs.initHighlightingOnLoad();
+ hljs.highlightAll();
{{- end }}
changeSidebarHeight();
switchDocToc();