Added MDE (issue #4)
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
{% for post in posts %}
|
||||
<div data-slidr="{{ post.id }}" style="width: 100%;">
|
||||
<div class="fitty" style="padding: 0 5rem">
|
||||
{{ post.content | raw }}
|
||||
{{ post.content|rendermd }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
@@ -55,8 +55,8 @@
|
||||
|
||||
{% for post in posts %}
|
||||
<div class="fourth-900 half-600 card box">
|
||||
<span class="stack" style="font-size:smaller;color:rgba(17,17,17,.4);margin-bottom:.6em;">[{{ post.valid_at }} - {{ post.expired_at }}]</span>
|
||||
<span class="stack">{{ post.content }}</span>
|
||||
<span class="stack" style="font-size:smaller;color:rgba(17,17,17,.4);margin-bottom:.6em;">[{{ post.valid_at|date("d/m/Y") }} - {{ post.expired_at|date("d/m/Y") }}]</span>
|
||||
<span class="stack">{{ post.content|rendermd }}</span>
|
||||
<form method="post">
|
||||
<footer class="flex full grow">
|
||||
{% if post.status != 0 %}
|
||||
|
||||
Reference in New Issue
Block a user