|
|
|
|
@ -4,12 +4,19 @@
|
|
|
|
|
<header class="entry-header">
|
|
|
|
|
|
|
|
|
|
<h1 class="entry-title">
|
|
|
|
|
<a href="{{ article.get_absolute_url }}"
|
|
|
|
|
rel="bookmark">{{ article.title }}</a>
|
|
|
|
|
{% if isindex %}
|
|
|
|
|
<a href="{{ article.get_absolute_url }}"
|
|
|
|
|
rel="bookmark">{{ article.title }}</a>
|
|
|
|
|
{% else %}
|
|
|
|
|
{{ article.title }}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</h1>
|
|
|
|
|
<div class="comments-link">
|
|
|
|
|
<a href="{{ article.get_absolute_url }}"
|
|
|
|
|
class="ds-thread-count" data-thread-key="3815" rel="nofollow"><span class="leave-reply">发表评论</span></a>
|
|
|
|
|
{% if article.comment_status == "o" %}
|
|
|
|
|
<a href="{{ article.get_absolute_url }}#comments"
|
|
|
|
|
class="ds-thread-count" data-thread-key="3815" rel="nofollow"><span
|
|
|
|
|
class="leave-reply">发表评论</span></a>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<div style="float:right">
|
|
|
|
|
{{ article.views }} views
|
|
|
|
|
</div>
|
|
|
|
|
@ -30,5 +37,5 @@
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
</div><!-- .entry-content -->
|
|
|
|
|
{% load_article_metas article %}
|
|
|
|
|
{% load_article_metas article user %}
|
|
|
|
|
</article><!-- #post -->
|