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

全校站点({{ stats.total }} 个已接入) {% if cached %}缓存 · 刷新 {% else %}实时{% endif %}

已接入站点
{{ stats.total }}
有条目站点
{{ stats.with_items }}
栏目总数
{{ stats.section_count }}
条目总数
{{ stats.entry_count }}
{% for g in groups %}

{{ g.name }}({{ g.sites | length }} 站)

{% for c in g.sites %}
{{ c.name }}{% if c.n_items %}{{ c.n_sections }} 栏{{ c.n_items }} 条{% else %}简介{% endif %}
{% if c.error %}
抓取异常:{{ c.error }}
{% endif %} {% if c.intro %}
{{ c.intro }} 进入站点 →
{% endif %} {% if c.sections | length > 4 %}
{% for sec in c.sections %}{% if sec.entries %} {{ sec.label }} {% endif %}{% endfor %}
{% endif %} {% for sec in c.sections %} {% if sec.entries %}

{{ sec.label }}{{ sec.entries | length }}

{% for i in sec.entries %}{% endfor %}
{{ i.date }}{{ i.title }}
{% elif sec.label %}
{{ sec.label }}:暂无条目。
{% endif %} {% endfor %} {% if not c.sections and not c.intro %}
栏目为流程文档,直达站点。
{% endif %}
{% endfor %}
{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}