codigocomentado/templates/post.html.tera

16 lines
473 B
Plaintext

{% extends "base" %}
{% block title %}CódigoComentado - {{post.title}}{% endblock title %}
{% block extracss %}
<link href="/static/css/post.css" rel="stylesheet"/>
{% endblock extracss %}
{% block content %}
<h1 class="title"><strong>Title: </strong>{{ post.title }}</h1>
<span class="date"><strong>Date: </strong>{{ post.created_at | date(format="%Y-%m-%d") }}</span>
<article>
<strong>Content:</strong>
{{ post.content | safe }}
</article>
{% endblock content %}