diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-21 11:46:48 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-21 11:46:48 +0200 |
commit | b2828eb039ddc7c0108b6af06ca7f5d8c87a5459 (patch) | |
tree | a5bb76b88ebc56eff5209cbb96fdc5a7ec6189b9 /.themes/classic/source/_includes | |
parent | 3dbc379caa737157e1e76d65c0cea2305eda4a5d (diff) | |
download | my_new_personal_website-b2828eb039ddc7c0108b6af06ca7f5d8c87a5459.tar.xz my_new_personal_website-b2828eb039ddc7c0108b6af06ca7f5d8c87a5459.zip |
Added optional comment count for disqus, fixes #88
Diffstat (limited to '.themes/classic/source/_includes')
-rw-r--r-- | .themes/classic/source/_includes/article.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html index 5cd6fda1..79e26528 100644 --- a/.themes/classic/source/_includes/article.html +++ b/.themes/classic/source/_includes/article.html @@ -6,7 +6,12 @@ <h1 class="entry-title">{{ page.title | titlecase }}</h1> {% endif %} {% unless page.meta == false %} - <p class="meta">{% include post/date.html %}{{ time }}</p> + <p class="meta"> + {% include post/date.html %}{{ time }} + {% if site.disqus_short_name and page.comments != false and site.disqus_show_comment_count == true %} + | <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a> + {% endif %} + </p> {% endunless %} </header> {% endunless %} |