{% extends "base.html" %} {% block title %}全站搜索 · 西湖生存手册{% endblock %} {% block content %}

全站搜索

{% if error %}
{{ error }}
{% endif %} {% if hits %}

共 {{ total }} 条,本页 {{ hits | length }} 条。

{% for hit in hits %} {% endfor %}
日期标题 / 摘要
{% if hit.date %}{{ hit.date | fmt_date }}{% else %}—{% endif %} {% if hit.url %}{{ hit.clean_title }} {% else %}{{ hit.clean_title }}{% endif %} {% if hit.clean_desc %}
{{ hit.clean_desc }}
{% endif %}
{% elif error %}
搜索暂不可用。
{% elif not searched %}
输入关键词后开始搜索。
{% else %}
没有找到与「{{ keyword }}」相关的结果。
{% endif %} {% endblock %}