itsonus-blog/fr/index.njk

20 lines
580 B
Plaintext
Raw Normal View History

2022-10-14 15:14:38 +00:00
---
layout: layouts/home.njk
eleventyNavigation:
key: i18n.nav.home
order: 1
---
{% set maxPosts = collections.posts.length | min(5) %}
2022-10-17 15:57:48 +00:00
{#<h1>{% if maxPosts == 1 %}Article{% else %}Derniers articles{% endif %}</h1>#}
<h1>Blog IT's on us</h1>
2022-10-14 15:14:38 +00:00
{% set postslist = collections.posts | head(-5) %}
{% set postslistCounter = collections.posts | length %}
{% include "postslist.njk" %}
2022-10-17 15:57:48 +00:00
{#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>#}