feat: add copy button to code blocks

This commit is contained in:
welpo
2023-07-07 22:03:47 +02:00
parent f710b62631
commit 2dec139e41
13 changed files with 190 additions and 112 deletions

View File

@@ -69,7 +69,7 @@
{%- endfor -%}
{%- endif -%}">
{%- if config.extra.theme_switcher == true -%}
{%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%}
<script type="text/javascript" src="{{ get_url(path='js/initialize_theme_min.js') | safe }}"></script>
<script defer src="{{ get_url(path='js/main_min.js', trailing_slash=false) | safe }}"/></script>
{%- endif -%}