优化文集内文档搜索样式

This commit is contained in:
yangjian 2020-06-09 09:08:13 +08:00
parent 25c94d0dbd
commit b18c5e0334

View File

@ -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 %}