mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 12:11:35 +01:00
feat: change some config
This commit is contained in:
parent
66510bafd6
commit
cff63d4961
2 changed files with 4 additions and 2 deletions
|
|
@ -98,7 +98,8 @@
|
|||
{% endif %}
|
||||
|
||||
<!-- giscus comment -->
|
||||
{% if config.extra.giscus.repo and page.extra.comments %}
|
||||
{% if page.extra.comment | default(value=config.extra.comment) %}<!---->
|
||||
{% if config.extra.giscus.repo %}
|
||||
<div class="giscus mt-12"></div>
|
||||
<script
|
||||
src="https://giscus.app/client.js"
|
||||
|
|
@ -117,6 +118,7 @@
|
|||
crossorigin="anonymous"
|
||||
async
|
||||
></script>
|
||||
{% endif %}<!---->
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endblock main %}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
<!---->
|
||||
|
||||
<!-- Mermaid -->
|
||||
{% if page.extra.mermaid %}
|
||||
{% if page.extra.mermaid | default(value=config.extra.mermaid) %}
|
||||
<script type="module">
|
||||
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
|
||||
mermaid.initialize({ startOnLoad: true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue