Browse Source

Signed-off-by: zry <admin@z-touhou.org>

zry 8 years ago
parent
commit
3a7eeb09b0
1 changed files with 4 additions and 4 deletions
  1. 4 4
      templates/home/post.list.html

+ 4 - 4
templates/home/post.list.html

@@ -61,9 +61,9 @@
 			{% endfor %}
 		</p>
 		{% if i.private %}
-			<blockquote>{% mksummary i.html "233" %}</blockquote>
-		{% else %}
 			<div class="alert alert-warning" role="alert">这是私密文章,不提供摘要预览。</div>
+		{% else %}
+			<blockquote>{% mksummary i.html "233" %}</blockquote>
 		{% endif %}
 	</li>
 	{% endfor %}
@@ -88,9 +88,9 @@
 			{% endfor %}
 		</p>
 		{% if i.private %}
-			<blockquote>{% mksummary i.html "233" %}</blockquote>
-		{% else %}
 			<div class="alert alert-warning" role="alert">这是私密文章,不提供摘要预览。</div>
+		{% else %}
+			<blockquote>{% mksummary i.html "233" %}</blockquote>
 		{% endif %}
 	</li>
 	{% endfor %}