Commit a8f946ed by liuyingying

css

parent 1b25b9fa
......@@ -329,7 +329,7 @@ nav>div{
font-size: 14px;
}
.new_list span:first-child{
width:100px;
width:60px;
}
.new_list a{
color: rgb(52, 133, 251);
......
......@@ -76,21 +76,24 @@
<div class="list_wrap">
{% for key, item in newest_post_list.items %}
{% if item %}
<p>{{ key }}</p>
{% for it in item %}
<div class="new_list">
<span>{{ it.date }}</span>
{% 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 %}
<span>{{ it.author }}发布了</span>
{% endif %}
{% if key == 'cve' %}
{% if key == 'cve' %}
<span>{{ it.author }}&nbsp;提交了&nbsp;</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>
{% endif %}
{% endif %}
</div>
{% endfor %}
{% 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