add static builder
This commit is contained in:
19
content/templates/post.html
Normal file
19
content/templates/post.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "default.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main role="main" class="container space-y-6">
|
||||
<p class="text-sm text-gray-600 italic">
|
||||
{% if post.lang == "en" %}
|
||||
Published {{ post.date_en }}
|
||||
{% else %}
|
||||
Publié le {{ post.date_fr }}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<div class="prose">
|
||||
{{ post.html | safe }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user