summaryrefslogtreecommitdiffstats
path: root/_layouts/default.html
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-08-31 21:33:26 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:08:42 +0100
commit64ddc200fbc6a38c85e2ea83cec1ae9db084145b (patch)
tree461b87229862d303562be461d3fd642fd6eea95b /_layouts/default.html
parentFix AFM scripts path (diff)
downloadhack-gpon.github.io-64ddc200fbc6a38c85e2ea83cec1ae9db084145b.tar
hack-gpon.github.io-64ddc200fbc6a38c85e2ea83cec1ae9db084145b.tar.gz
hack-gpon.github.io-64ddc200fbc6a38c85e2ea83cec1ae9db084145b.tar.bz2
hack-gpon.github.io-64ddc200fbc6a38c85e2ea83cec1ae9db084145b.tar.lz
hack-gpon.github.io-64ddc200fbc6a38c85e2ea83cec1ae9db084145b.tar.xz
hack-gpon.github.io-64ddc200fbc6a38c85e2ea83cec1ae9db084145b.tar.zst
hack-gpon.github.io-64ddc200fbc6a38c85e2ea83cec1ae9db084145b.zip
Diffstat (limited to '_layouts/default.html')
-rw-r--r--_layouts/default.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 2177328..da47fcb 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -39,7 +39,7 @@ layout: table_wrappers
</svg>
</symbol>
{% include icons/alert.html %}
- {% include icons/copy.html %}
+ {% include icons/code_copy.html %}
{% include icons/external_link.html %}
{% include icons/custom.html %}
</svg>
@@ -334,6 +334,10 @@ layout: table_wrappers
{% endif %}
</body>
{% if site.mermaid_enabled != false %}
-{%- include mermaid_init.html -%}
+<script>
+ var config = {% include mermaid_config.js %};
+ mermaid.initialize(config);
+ window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
+</script>
{% endif %}
</html>