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 %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- giscus comment -->
|
<!-- 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>
|
<div class="giscus mt-12"></div>
|
||||||
<script
|
<script
|
||||||
src="https://giscus.app/client.js"
|
src="https://giscus.app/client.js"
|
||||||
|
|
@ -117,6 +118,7 @@
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
async
|
async
|
||||||
></script>
|
></script>
|
||||||
|
{% endif %}<!---->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</article>
|
</article>
|
||||||
{% endblock main %}
|
{% endblock main %}
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
<!---->
|
<!---->
|
||||||
|
|
||||||
<!-- Mermaid -->
|
<!-- Mermaid -->
|
||||||
{% if page.extra.mermaid %}
|
{% if page.extra.mermaid | default(value=config.extra.mermaid) %}
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
|
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
|
||||||
mermaid.initialize({ startOnLoad: true });
|
mermaid.initialize({ startOnLoad: true });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue