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