mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 19:00:15 +08:00
23 lines
628 B
HTML
23 lines
628 B
HTML
|
<script src="/dist/index.js"></script>
|
||
|
{%- set categories = resource.pages|get_all_category %}
|
||
|
<aside class="aside-container">
|
||
|
<ul>
|
||
|
{%- for category in categories %}
|
||
|
{%- set items = resource.pages|find_category(category) %}
|
||
|
<li>
|
||
|
<h4>{{category}}</h4>
|
||
|
<ul>
|
||
|
{%- for item in items %}
|
||
|
<li class="{%- if item.title === post.title %}current{%- endif %}">
|
||
|
<a href="{{permalink_url(item)}}">
|
||
|
{{item.title}}
|
||
|
<span class="chinese">{{item.meta.chinese}}</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
{%- endfor %}
|
||
|
</ul>
|
||
|
</li>
|
||
|
{%- endfor %}
|
||
|
</ul>
|
||
|
</aside>
|