mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-11-05 11:04:26 +08:00
调整更新日志页面 (#317)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2282931f70
commit
4597954052
@ -1,8 +1,6 @@
|
||||
---
|
||||
layout: changelog
|
||||
channel: dev
|
||||
nowchange: 3.8.0.305
|
||||
# nowpreview:
|
||||
title: 开发版更新日志
|
||||
date: 2021-08-22 23:18:02 +0800
|
||||
note: Changelogs are written in Chinese.
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
---
|
||||
layout: changelog
|
||||
nowchange: 3.7.3
|
||||
# nowpreview: 3.7.3
|
||||
channel: stable
|
||||
title: 稳定版更新日志
|
||||
date: 2021-08-22 23:18:02 +0800
|
||||
note: Changelogs are written in Chinese.
|
||||
|
||||
@ -6,6 +6,6 @@ layout: document
|
||||
{% 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>
|
||||
<h1 id="{% if forloop.index == 1 %}nowchange{% else %}HMCL-{{ version }}{% endif %}" data-version="{{ version }}">HMCL {{ version }}</h1>
|
||||
<div>{{ item.content | markdownify }}</div>
|
||||
{% endfor %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user