移除 page.note (#332)

This commit is contained in:
neveler 2025-11-16 10:27:00 +08:00 committed by GitHub
parent 6cb4f1b80d
commit b624dd5b62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 16 additions and 7 deletions

View File

@ -3,5 +3,11 @@ layout: changelog
channel: dev
title: 开发版更新日志
date: 2021-08-22 23:18:02 +0800
note: Changelogs are written in Chinese.
---
<!--{% comment %}-->
> [!NOTE]
> <!--{% endcomment %}-->
> Changelogs are written in Chinese.
<!----{{ '>' }}
{: .notice--info }

View File

@ -3,5 +3,11 @@ layout: changelog
channel: stable
title: 稳定版更新日志
date: 2021-08-22 23:18:02 +0800
note: Changelogs are written in Chinese.
---
<!--{% comment %}-->
> [!NOTE]
> <!--{% endcomment %}-->
> Changelogs are written in Chinese.
<!----{{ '>' }}
{: .notice--info }

View File

@ -1,7 +1,6 @@
---
title: Hello Minecraft! Launcher 用户协议
date: 2021-09-21 23:26:00 +0800
note: 更新时间 2021 年 9 月 21 日
---
欢迎使用黄鱼(以下简称“开发者”)提供的 Hello Minecraft! Launcher以下简称“本软件”软件与服务。 为了保障用户(或称“您”)的权益,特制定本用户协议书(以下简称本协议)。 请您在使用本软件前,详细阅读本协议的所有内容。开发者可能随时更新本协议,本协议一旦发生变动,开发者将会在相关页面上通告修改内容。 修改后的本协议一旦在页面上公布即有效代替原用户协议书。

View File

@ -2,6 +2,8 @@
layout: document
---
{{ content }}
{% assign channel = page.channel | default: 'stable' %}
{% assign changelogs = site.changelogs | where_exp: "item", "item.relative_path contains channel" | reverse %}
{% for item in changelogs %}

View File

@ -8,10 +8,6 @@ layout: single
<div class="notice--info">
<p>本文由 {{ page.author | default: '未署名用户' }} 创建{% if page.contributors %},并由 {{ page.contributors | join: ' ' }} 编辑{% endif %}。</p>
{%- if page.note -%}
<hr>
{{ page.note | markdownify }}
{%- endif -%}
</div>
{{ content }}