21 lines
650 B
Plaintext
21 lines
650 B
Plaintext
---
|
|
layout: home.njk
|
|
eleventyNavigation:
|
|
key: Accueil
|
|
order: 1
|
|
---
|
|
{% set maxPosts = collections.posts.length | min(5) %}
|
|
{#<h1>{% if maxPosts == 1 %}Article{% else %}Derniers articles{% endif %}</h1>#}
|
|
<h1 class="main-title">Blog numérique responsable</h1>
|
|
<p class="sub-title">par le collectif IT's on us</p>
|
|
{% set postslist = collections.posts | head(-5) %}
|
|
{% set postslistCounter = collections.posts | length %}
|
|
{% include "postslist.njk" %}
|
|
|
|
{#List all of the pages in the project#}
|
|
{#<ul>#}
|
|
{# {%- for entry in collections.all %}#}
|
|
{# <li><a href="{{ entry.url }}"><code>{{ entry.url }}</code></a></li>#}
|
|
{# {%- endfor %}#}
|
|
{#</ul>#}
|