Skip to content

Commit 3fe9789

Browse files
committed
fix #518
1 parent ee772aa commit 3fe9789

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/blog/tags/article_info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1 class="entry-title">
2323
<a href="{{ article.get_absolute_url }}#comments" class="ds-thread-count" data-thread-key="3815"
2424
rel="nofollow">
2525
<span class="leave-reply">
26-
{% if article.comment and article.comment_set.count %}
26+
{% if article.comment_set and article.comment_set.count %}
2727
{{ article.comment_set.count }}个评论
2828
{% else %}
2929
发表评论

templates/blog/tags/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
</li>
123123

124124
{% else %}
125-
<li><a href="{% url "account:login" %}" rel="nofollow">登录</a>
125+
<li><a href="{% url "account:login" %}" rel="nofollow">登录</a></li>
126126
{% endif %}
127127
{% if user.is_superuser %}
128128
<li><a href="{% url "blog:refresh" %}" target="_blank">刷新缓存</a></li>

0 commit comments

Comments
 (0)