This commit is contained in:
krahets
2023-10-06 13:31:21 +08:00
parent b3956c9e88
commit dda64b52e1
154 changed files with 19511 additions and 56469 deletions
+10 -2
View File
@@ -1,5 +1,13 @@
{% if page.meta.comments %}
<h5 align="center" id="__comments">{{ "欢迎在评论区留下你的见解、疑惑或建议" }}</h5>
{% if config.theme.language == 'zh' %}
{% set comm = "欢迎在评论区留下你的见解、疑惑或建议" %}
{% set lang = "zh-CN" %}
{% elif config.theme.language == 'en' %}
{% set comm = "Feel free to drop your insights, questions or suggestions" %}
{% set lang = "en" %}
{% endif %}
<h5 align="center" id="__comments">{{ comm }}</h5>
<!-- Insert generated snippet here -->
<script
src="https://giscus.app/client.js"
@@ -13,7 +21,7 @@
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-lang="{{ lang }}"
crossorigin="anonymous"
async
>