mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-07 05:18:40 -04:00
updated tag list
This commit is contained in:
parent
4886fa19c9
commit
17815ebf1f
1 changed files with 11 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
{% import "macros/post.html" as post %}
|
||||||
{% import "macros/taxonomy.html" as macros %}
|
{% import "macros/taxonomy.html" as macros %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
@ -9,8 +10,16 @@
|
||||||
{%- set num_terms = terms | length %}
|
{%- set num_terms = terms | length %}
|
||||||
<ul class="taxonomy-list{%- if num_terms > 16 %} three-column{%- elif num_terms > 8 %} two-column{%- endif -%}">
|
<ul class="taxonomy-list{%- if num_terms > 16 %} three-column{%- elif num_terms > 8 %} two-column{%- endif -%}">
|
||||||
{%- for term in terms %}
|
{%- for term in terms %}
|
||||||
{%- set page_count = [term.page_count ~ " post", term.page_count | pluralize] | join %}
|
{# {%- set page_count = [term.page_count ~ " post", term.page_count | pluralize] | join %} #}
|
||||||
<li><a href="{{ term.permalink | safe }}">{{ macros::prettify(term=term.name) }}</a> ({{ page_count }})</li>
|
<li>
|
||||||
|
<h4 style="margin-bottom: 0.25em;margin-top: 0.5em"><a href="{{ term.permalink | safe }}">{{ macros::prettify(term=term.name) }}</a></h4>
|
||||||
|
<ul>
|
||||||
|
{% for page in term.pages%}
|
||||||
|
<li>{{post::page_link(path=page.relative_path)}}</li>
|
||||||
|
{%- endfor %}
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue