HMCL-docs/_layouts/changelog.html
neveler ce81c43567
All checks were successful
continuous-integration/drone/push Build is passing
拆分更新日志到独立文件 (#277)
2025-10-14 11:27:55 +08:00

12 lines
482 B
HTML

---
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 %}