Skip to content

Commit e22f83f

Browse files
author
jiawh
committed
<fix>(<post.yml>):<增加判断flag>
1 parent 5546a99 commit e22f83f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: _layouts/post.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
8383

8484

8585
<!--Gitalk评论start -->
86-
<!--{% if site.gitalk.enable %}-->
86+
{% if site.gitalk.enable %}
8787
<!-- 引入Gitalk评论插件 -->
8888
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
8989
<script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script>
@@ -103,7 +103,7 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
103103
});
104104
gitalk.render('gitalk-container');
105105
</script>
106-
<!--{% endif %}-->
106+
{% endif %}
107107
<!-- Gitalk end -->
108108

109109
{% if site.disqus_username %}

0 commit comments

Comments
 (0)