Moved comment count to header. Add comment count to the article as well. Display comment link only when disqus is configured
This commit is contained in:
parent
9084cb343f
commit
c9e753d425
2 changed files with 9 additions and 1 deletions
|
@ -18,6 +18,11 @@
|
|||
when=article.locale_date,
|
||||
category='<a href="%s/%s">%s</a>'|format(SITEURL, article.category.url, article.category)|safe) }}
|
||||
|
||||
{% if DISQUS_SITENAME %}
|
||||
• <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">{{ _('View Comments') }}</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if 'post_stats' in PLUGINS %}
|
||||
• {{ article.stats['read_mins'] }} min read
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue