{% load static %} {% load i18n %} {{ query }} - {% trans "觅思搜索" %} - {% if site_name != None and site_name != '' %}{{ site_name }}{% endif %}
{% if query != '' %}
{% trans "觅思文档在" %} {% if date_range == 'recent1' %} {% trans "近1天内" %} {% elif date_range == 'recent7' %} {% trans "近7天内" %} {% elif date_range == 'recent30' %} {% trans "近30天内" %} {% elif date_range == 'recent365' %} {% trans "近一年内" %} {% else %} {% trans "全部时间内" %} {% endif %} {% trans "搜索到" %} {{ page.paginator.count }} {% trans "条结果" %}
{% endif %}
{% if query %} {% load doc_filter %} {% load highlight %} {% for result in page.object_list %}

{% highlight result.object.name with query %}

{% if result.object.editor_mode == 3 %} {% highlight result.object.content with query %} {% else %} {% highlight result.object.pre_content with query %} {% endif %}

{{ result.object.top_doc | get_doc_top }} - {{result.object.modify_time}}

{% empty %}

{% trans "没有搜索结果。" %}试试精准搜索?

{% endfor %} {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %}
{% if page.has_previous %} {% trans "上一页" %} {% else %} {% trans "上一页" %} {% endif %} {{ page.number }}/{{ page.paginator.num_pages }} {% if page.has_next %} {% trans "下一页" %} {% else %} {% trans "下一页" %} {% endif %}
{% include 'app_doc/foot_base.html' %} {% block custom_script %} {% if debug %} {% else %} {{ static_code | safe }} {% endif %} {% endblock %}