fix: filter articles from tag view
parent
c1327242f9
commit
33fe1c722f
|
@ -17,7 +17,7 @@ permalink: /blog/tags/{{ tag | slugify }}/
|
|||
<div class="main-content">
|
||||
<h1>#{{ tag }}</h1>
|
||||
|
||||
{% set articlesList = collections[ tag ] %}
|
||||
{% set articlesList = collections[ tag ] | filterDraft %}
|
||||
{% include "articlesList.njk" %}
|
||||
</div>
|
||||
<aside class="right-side">
|
||||
|
|
Loading…
Reference in New Issue