2019-09-11 06:19:34 +02:00
|
|
|
{%- if include.keys -%}
|
|
|
|
{%- assign keys = include.keys -%}
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
|
|
{%- if include.field -%}
|
|
|
|
{%- assign field = include.field -%}
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
|
|
<div class="common-list">
|
|
|
|
<ul>
|
|
|
|
<li>
|
2020-09-11 19:52:50 +02:00
|
|
|
<a href="{{ '/index.html' | relative_url }}">
|
2019-09-11 06:19:34 +02:00
|
|
|
All<span>{{ site.posts.size }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% for key in keys %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ url }}#h-{{ key }}">
|
|
|
|
{{ key }} <span>{{ site.posts | where: field, key | size }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|