拆分更新日志到独立文件 (#277)
continuous-integration/drone/push Build is passing

This commit is contained in:
neveler
2025-10-14 11:27:55 +08:00
committed by GitHub
parent 79ce378a30
commit ce81c43567
176 changed files with 2668 additions and 2564 deletions
+11
View File
@@ -0,0 +1,11 @@
---
layout: document
---
{% assign channel = page.channel | default: 'stable' %}
{% assign changelogs = site.changelogs | where_exp: "item", "item.relative_path contains channel" | reverse %}
{% for item in changelogs %}
{% assign version = item.slug %}
<h1 id="{% if version == page.nowchange %}nowchange{% elsif version == page.nowpreview %}nowpreview{% else %}HMCL-{{ version }}{% endif %}">HMCL {{ version }}</h1>
<div>{{ item.content | markdownify }}</div>
{% endfor %}