mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
11 lines
312 B
HTML
11 lines
312 B
HTML
{%- set items = resource.pages|find_category(post.meta.category) %}
|
|
<aside class="aside-container">
|
|
<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>
|
|
</aside>
|