refactor: refactor to 11ty to support Tencent Cloud EdgeOne Maker
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-11-02 17:06:03 +08:00
parent 338858bd57
commit 21253ee102
174 changed files with 22956 additions and 30 deletions
+21
View File
@@ -0,0 +1,21 @@
---
layout: archive
---
{%- assign locale = page.locale | default: layout.locale | default: site.locale %}
{{ content }}
<h3 class="archive__subtitle">{{ site.data.ui-text[locale].recent_posts | default: "Recent Posts" }}</h3>
{% if paginator %}
{% assign posts = paginator.posts %}
{% else %}
{% assign posts = site.posts %}
{% endif %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% include documents-collection.html locale=locale entries=posts type=entries_layout %}
</div>
{% include paginator.html locale=locale %}