Add optional copy code button!

This commit is contained in:
David Lapshin
2024-05-09 22:01:25 +03:00
parent 398fb7ebfd
commit 3f87d78b33
4 changed files with 95 additions and 1 deletions

View File

@ -33,6 +33,10 @@
}
</style>
{% if config.extra.show_copy_button %}
<script src="{{ get_url(path='copy-button.js') }}"></script>
{% endif %}
{% if config.extra.comments %}
<link rel="me" href="https://{{ config.extra.comments.host }}/@{{ config.extra.comments.user }}" />
{% endif %}