提交 f6c235e3 编写于 作者: C codecalm

changelog

上级 6cece1ea
......@@ -63,7 +63,6 @@ defaults:
path: "*.md"
values:
layout: markdown
- scope:
type: "pages"
values:
......
- version: 1.0.0-beta
date: 2021-02-17
description: Initial release of Tabler v1.0! Lots more coming soon though 😁
changes:
- Updated to Bootstrap v5.0.0-beta2
- Updated other dependencies.
\ No newline at end of file
......@@ -4,12 +4,23 @@ menu: docs.changelog
layout: docs
---
{% for page in site.changelog reversed %}
{% for version in site.data.changelog reversed %}
<div class="mb-4">
<div class="mb-2">
<span class="badge bg-blue-lt">{{ page.title }}</span>
<span class="text-muted">{{ page.date | date: '%B %d, %Y' }}</span>
<span class="badge bg-blue-lt">{{ version.version }}</span>
<span class="text-muted">{{ version.date | date: '%B %d, %Y' }}</span>
</div>
<div>{{ page.content }}</div>
{% if version.description %}
<p>{{ version.description }}</p>
{% endif %}
{% if version.changes %}
<ul>
{% for change in version.changes %}
<li>{{ change }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endfor %}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册