|
@@ -14,7 +14,7 @@
|
|
<div class="ui divider"></div>
|
|
<div class="ui divider"></div>
|
|
{% for item in articles_new %}
|
|
{% for item in articles_new %}
|
|
{% if item.status == 1 %}
|
|
{% if item.status == 1 %}
|
|
- {% if item.type == 1 %}
|
|
|
|
|
|
+ {% if item.type == 1 and item.is_top%}
|
|
<div class="event">
|
|
<div class="event">
|
|
<div class="label">
|
|
<div class="label">
|
|
<img src="/user_avatar/{{ item.user_id }}">
|
|
<img src="/user_avatar/{{ item.user_id }}">
|
|
@@ -25,7 +25,11 @@
|
|
<div class="summary"><a>
|
|
<div class="summary"><a>
|
|
{{ item.user__first_name }}{{ item.user__last_name }}</a>
|
|
{{ item.user__first_name }}{{ item.user__last_name }}</a>
|
|
发布了{{ item.category__name }}:<a
|
|
发布了{{ item.category__name }}:<a
|
|
- href="/article/{{ item.id }}.html">{{ item.title }}</a></div>
|
|
|
|
|
|
+ href="/article/{{ item.id }}.html">{{ item.title }}</a>
|
|
|
|
+ {% if is_login %}
|
|
|
|
+ <a title="取消置顶" href="/article/cancel_show_index/{{ item.id }}"><i class="icon cancel"></i></a>
|
|
|
|
+ {% endif %}</div>
|
|
|
|
+
|
|
<div class="extra text">{{ item.intro }}
|
|
<div class="extra text">{{ item.intro }}
|
|
Tags:
|
|
Tags:
|
|
{% for tag in item.tags %}
|
|
{% for tag in item.tags %}
|
|
@@ -47,7 +51,7 @@
|
|
发布了{{ item.category__name }}:<a
|
|
发布了{{ item.category__name }}:<a
|
|
href="/article/{{ item.id }}.html">{{ item.title }}</a>
|
|
href="/article/{{ item.id }}.html">{{ item.title }}</a>
|
|
{% if is_login %}
|
|
{% if is_login %}
|
|
- <a href="/article/cancel_show_index/{{ item.id }}"><i class="icon cancel"></i></a>
|
|
|
|
|
|
+ <a title="取消置顶" href="/article/cancel_show_index/{{ item.id }}"><i class="icon cancel"></i></a>
|
|
{% endif %}</div>
|
|
{% endif %}</div>
|
|
|
|
|
|
{% if '<iframe' in item.intro %}
|
|
{% if '<iframe' in item.intro %}
|