summaryrefslogtreecommitdiffstats
path: root/source/_includes/article.html
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:24:40 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:24:40 +0100
commitee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174 (patch)
tree2c4fe92f279f887bf30f5dcdd236e1679e1b4525 /source/_includes/article.html
parentf54c3bdd1563d6bbd398c10ad0722396fa2ae75d (diff)
downloadoctopress-theme-jeyzu-ee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174.zip
octopress-theme-jeyzu-ee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174.tar.gz
use site config
Diffstat (limited to 'source/_includes/article.html')
-rw-r--r--source/_includes/article.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/_includes/article.html b/source/_includes/article.html
index 347a52d..ddb24f3 100644
--- a/source/_includes/article.html
+++ b/source/_includes/article.html
@@ -3,12 +3,12 @@
<div class="entry">
{{ content | excerpt }}
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
- {% if excerpted == 'true' %}<a href="{{ root_url }}{{ post.url }}" class="more-link">閱讀全文</a>{% endif %}
+ {% if excerpted == 'true' %}<a href="{{ root_url }}{{ post.url }}" class="more-link">{{ site.excerpt_link }}</a>{% endif %}
</div>
<div class="meta">
<div class="date">{% include post/date.html %}{{ time }}</div>
<div class="tags">{% include post/categories.html %}</div>
- {% if site.disqus_short_name and post.comments == true %}
+ {% if site.disqus_short_name and post.comments == true and site.disqus_show_comment_count == true %}
<div class="comments"><a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">留言</a></div>
{% endif %}
</div>
@@ -18,7 +18,7 @@
<div class="meta">
<div class="date">{% include post/date.html %}{{ time }}</div>
<div class="tags">{% include post/categories.html %}</div>
- {% if site.disqus_short_name and page.comments == true %}
+ {% if site.disqus_short_name and page.comments == true and site.disqus_show_comment_count == true %}
<div class="comments"><a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">留言</a></div>
{% endif %}
</div>