ant-design/theme/templates/aside.html
2015-05-09 18:16:36 +08:00

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>