{% extends "base.html" %}
{% block content %}
<article class="h-entry">
    <div> 
	{% if heading %}<h1 class="p-name">{{heading}}</h1>{% endif %}
    </div> 
    <div class='e-content'>
	<div class="row">
	    {% for post in contexto['lista_posts_recientes'] %}
	    <div id="noticia">

		<big>
		    <a href="/posts/{{ post[0] }}">
			{{ post[0]|upper }} 
		    </a> 
		</big>
		<small>- modificado: {{ post[1] }} </small>
		<p>
		    {{ post[2]|safe }} ... 
		    (<a href="/posts/{{ post[0] }}">
		    ver más
		    </a>) 
		</p>
	    </div>
	    {% endfor %}
	</div>

	{{contents}}
    </div>
</article>
{% endblock %}
