mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +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>
|