fix: filter articles from tag view

pull/6/head
Nicolas Doby 2022-11-25 16:03:53 +01:00
parent c1327242f9
commit 33fe1c722f
1 changed files with 1 additions and 1 deletions

View File

@ -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">