Add draft support

This commit is contained in:
Quentin Dufour 2016-01-17 10:43:50 -05:00
parent 89448eea1b
commit 8d2a178b77
5 changed files with 19 additions and 18 deletions

View File

@ -1,10 +1,12 @@
<ul id="post-list">
{% for post in paginator.posts %}
{% for post in paginator.posts %}
{% if post.status == "published" %}
<li>
<a href='{{ post.url }}'><aside class="dates">{{ post.date | date:"%b %d" }}</aside></a>
<a href='{{ post.url }}'>{{ post.title }} <h2>{{ post.description }}</h2></a>
</li>
{% endfor %}
</li>
{% endif %}
{% endfor %}
</ul>
{% if paginator.previous_page or paginator.next_page %}

View File

@ -1,7 +1,7 @@
---
layout: post
slug: tout-sur-les-serveurs-teeworlds-partie-1
status: publish
status: published
title: Créer un serveur Teeworlds (partie 1)
description: Un serveur Teeworlds basique
categories:

View File

@ -1,7 +1,7 @@
---
layout: post
slug: installer-icescrum-7
status: publish
status: published
title: Installer Icescrum
description: Gestion de projet agile self-hosted
categories:

View File

@ -1,7 +1,7 @@
---
layout: post
slug: utiliser-casperjs
status: draft
status: published
title: CasperJS
description: Du test fonctionnel au web scraping
categories:

View File

@ -1,7 +1,7 @@
---
layout: post
slug: l2tp
status: draft
status: published
title: Tunnel L2TP
description: Créer un tunnel avec la commande ip
categories:
@ -168,4 +168,3 @@ Pour moi, ça a marché, à vous de jouer !
##Explorons !
Il reste encore bien des possibilités. Ainsi, nous verrons prochainement comment bridger les interfaces en L2TP pour faire passer autre chose que de l'IP ainsi que quelques rudiments de routage avec ``ip route``