Commit a8f946ed by liuyingying

css

parent 1b25b9fa
...@@ -329,7 +329,7 @@ nav>div{ ...@@ -329,7 +329,7 @@ nav>div{
font-size: 14px; font-size: 14px;
} }
.new_list span:first-child{ .new_list span:first-child{
width:100px; width:60px;
} }
.new_list a{ .new_list a{
color: rgb(52, 133, 251); color: rgb(52, 133, 251);
......
...@@ -76,21 +76,24 @@ ...@@ -76,21 +76,24 @@
<div class="list_wrap"> <div class="list_wrap">
{% for key, item in newest_post_list.items %} {% for key, item in newest_post_list.items %}
{% if item %} {% if item %}
<p>{{ key }}</p>
{% for it in item %} {% for it in item %}
<div class="new_list"> <div class="new_list">
<span>{{ it.date }}</span> <span>{{ it.date }}</span>
{% if key == 'publication' %} {% if key == 'publication' %}
<span>{{ it.author }}在{{ it.journalname }}上发表了{{ it.publishType }}</span> <span>{{ it.author }}&nbsp;在{{ it.journalname }}上发表了{{ it.publishType }}</span>
<span><a target="_blank" href="{{ it.url }}">《{{ it.title }}》</a></span>
{% else %} {% else %}
<span>{{ it.author }}发布了</span> {% if key == 'cve' %}
{% endif %} <span>{{ it.author }}&nbsp;提交了&nbsp;</span>
{% if key == 'cve' %}
<span><a target="_blank" href="{{ it.url }}">{{ it.title }}</a></span> <span><a target="_blank" href="{{ it.url }}">{{ it.title }}</a></span>
{% else %} {% else %}
<span>{{ it.author }}&nbsp;写了文章</span>
<span><a target="_blank" href="{{ it.url }}">《{{ it.title }}》</a></span> <span><a target="_blank" href="{{ it.url }}">《{{ it.title }}》</a></span>
{% endif %}
{% endif %} {% endif %}
</div> </div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment