更新了 `index.html` 中的标题为 "心尺.Org",以更准确地反映品牌名称。同时,将 `list.html` 中的标题改为动态显示 `{{ tag }}`,以便根据页面内容动态调整标题。
16 lines
400 B
HTML
16 lines
400 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block head_extra %}
|
|
<title>{{ tag }}</title>
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<div class="scale-list">
|
|
{% for scale_id, scale in scales.items() %}
|
|
{% if scale.tag == tag %}
|
|
<a class="title" href="/scales/{{ scale_id }}">{{ scale.get('title','未命名问卷') }}</a>
|
|
<p>{{ scale.abstract|safe }}</p>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %} |