fixed blog navigation referencing archived posts
All checks were successful
Web/pipeline/head This commit looks good
All checks were successful
Web/pipeline/head This commit looks good
This commit is contained in:
parent
5348dd2be9
commit
2e852055d3
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
{% assign tag = page.tags[0] %}
|
||||
{% assign posts = site.tags[tag] %}
|
||||
{% assign notarchived = site.tags[tag] | where: "archived", "false" %}
|
||||
{% assign nilarchived = site.tags[tag] | where: "archived", nil %}
|
||||
{% assign posts = notarchived | concat: nilarchived %}
|
||||
|
||||
{% for post in posts %}
|
||||
{% if post.url != page.url %}
|
||||
|
|
Loading…
Reference in a new issue