Skip to content

Commit

Permalink
add disqus comment count
Browse files Browse the repository at this point in the history
  • Loading branch information
NeroBlackstone committed Jun 11, 2021
1 parent d9c7e2f commit e2b8a27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/_includes/templates/postslist.njk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
<a href="{{ tagUrl }}" class="tag">{{ tag }}</a>
{% endfor %}

<a href="{{ post.data.url }}#disqus_thread">Comments</a>
{%- if site.disqus.enable %}
<a href="{{ post.data.url }}#disqus_thread">Comments</a>
{% endif %}

</div>
</div>
</div>
Expand Down

0 comments on commit e2b8a27

Please sign in to comment.