forked from mirror/MrDoc
优化文集内文档搜索样式
This commit is contained in:
parent
25c94d0dbd
commit
b18c5e0334
@ -20,7 +20,7 @@
|
||||
{% block page_content %}
|
||||
{% for result in search_result %}
|
||||
<div>
|
||||
<h3><a href="{% url 'doc' pro_id=project.id doc_id=result.id %}" target="_blank">{{ result.name }}</a></h3>
|
||||
<p><a href="{% url 'doc' pro_id=project.id doc_id=result.id %}" target="_blank">{{ result.name }}</a> - <span style="font-size: 14px;color: #999;">{{result.modify_time}}</span></p>
|
||||
<p>{{ result.pre_content|truncatechars:300 }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user