feat: change some config

This commit is contained in:
st1020 2024-01-12 21:43:28 +08:00
parent 66510bafd6
commit cff63d4961
2 changed files with 4 additions and 2 deletions

View file

@ -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 %}