fix: correct filter
This commit is contained in:
		@@ -8,9 +8,9 @@ templateClass: tmpl-post
 | 
			
		||||
</aside>
 | 
			
		||||
{%- endif %}
 | 
			
		||||
<div class="main-content">
 | 
			
		||||
  <h1>{{ title }}</h1>
 | 
			
		||||
 | 
			
		||||
  <div class="post-metadata">
 | 
			
		||||
  <h1>  {% if draft %} Brouillon - {%- endif %} {{ title }}</h1>
 | 
			
		||||
  <div
 | 
			
		||||
    class="post-metadata">
 | 
			
		||||
    <div class="post-metadata__header">
 | 
			
		||||
      Le <time datetime="{{ page.date | htmlDateString }}">{{ page.date | readableDate }}</time> {{ authors | readableAuthors }}
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@ layout: home.njk
 | 
			
		||||
  <h1>Articles en construction</h1>
 | 
			
		||||
 | 
			
		||||
  {% set articlesList = collections.articles | onlyDraft %}
 | 
			
		||||
  {% if articlesList.len > 0 %}
 | 
			
		||||
  {% if articlesList.length > 0 %}
 | 
			
		||||
  {% include "articlesList.njk" %}
 | 
			
		||||
  {% else %}
 | 
			
		||||
    <p>Tous les articles sont en ligne ! Retournez à <a href="/blog/">l'accueil</a> pour les consulter.</p>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user