Import initial.

This commit is contained in:
David Soulayrol
2022-04-04 18:30:08 +02:00
commit 57deaaaf34
46 changed files with 16985 additions and 0 deletions

18
layouts/blog.njk Normal file
View File

@@ -0,0 +1,18 @@
{% extends "base.njk" %}
{% block article %}
{% block header %}{{ header | safe }}{% endblock %}
<article>
{% block content %}{{ contents | safe }}{% endblock %}
{% set news = collections["archives"] %}
<ul>
{% for article in news %}
<li>
<p><a href="/{{ article.path }}">{{ moment(article.date).format('LL') }} | {{ article.title }}</a></p>
<p>{{ article.excerpt | safe }}</p>
</li>
{% else %}
{% endfor %}
</ul>
</article>
{% endblock %}