mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
15 lines
358 B
HTML
15 lines
358 B
HTML
<aside class="aside-container">
|
|
<ul>
|
|
{%- set items = resource.pages|find_category(post.meta.category) %}
|
|
<li>
|
|
<ul>
|
|
{%- for item in items %}
|
|
<li class="{%- if item.title === post.title %}current{%- endif %}">
|
|
<a href="{{permalink_url(item)}}">{{item.title}}</a>
|
|
</li>
|
|
{%- endfor %}
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</aside>
|