feat: 动态页面

This commit is contained in:
mei
2026-11-14 20:49:50 +08:00
parent b79125049e
commit 5553576466
29 changed files with 1643 additions and 7 deletions
+3 -3
View File
@@ -30,11 +30,11 @@
{% endif %}
{% if pages %}
{% for page in pages.toArray() %}
{% if post.indexing == undefined or post.indexing %}
{% if page.indexing == undefined or page.indexing %}
<entry>
<title>{{ page.title }}</title>
<link href="{{ [url, post.path] | urlJoin | uriencode }}"/>
<url>{{ [url, post.path] | urlJoin | uriencode }}</url>
<link href="{{ [url, page.path] | urlJoin | uriencode }}"/>
<url>{{ [url, page.path] | urlJoin | uriencode }}</url>
{% if content %}
<content type="html"><![CDATA[{{ page.content | noControlChars | safe }}]]></content>
{% endif %}