forked from ti-nuage/site
Import initial.
This commit is contained in:
13
layouts/article.njk
Normal file
13
layouts/article.njk
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends "base.njk" %}
|
||||
|
||||
{% block article %}
|
||||
<h1>{{ title }}</h1>
|
||||
{% if date %}
|
||||
<div class="meta-published">
|
||||
Publié le : {{ moment(date).format('LL') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{ contents | safe }}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user