feat: clean up filters
Some sorely needed reorganization and pruning
This commit is contained in:
parent
e6cfa88f61
commit
ea6280226a
11 changed files with 159 additions and 176 deletions
|
@ -8,7 +8,7 @@ description: Read all of my posts.
|
|||
<p>
|
||||
Browse all of my posts, or narrow things down <a href="/tags">via tags</a>.
|
||||
</p>
|
||||
{% set itemsByYear = collections.post | reverse | organizeByDate %}
|
||||
{% set itemsByYear = collections.post | reverse | organizeByYear %}
|
||||
{% set years = itemsByYear | keys | sort("desc") %}
|
||||
<section class="flow">
|
||||
{% for year in years %}
|
||||
|
|
|
@ -15,7 +15,7 @@ eleventyComputed:
|
|||
<p>
|
||||
All posts tagged with "{{ tag }}", or go back to <a href="/tags">all tags</a>.
|
||||
</p>
|
||||
{% set itemsByYear = collections.postsByTag[tag] | reverse | organizeByDate %}
|
||||
{% set itemsByYear = collections.postsByTag[tag] | reverse | organizeByYear %}
|
||||
{% set years = itemsByYear | keys | sort("desc") %}
|
||||
<section class="flow">
|
||||
{% for year in years %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue