This commit is contained in:
commit
57e36978f6
7 changed files with 158 additions and 0 deletions
18
templates/index.html
Normal file
18
templates/index.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ section.title }}</h1>
|
||||
|
||||
<div class="intro">
|
||||
{{ section.content | safe }}
|
||||
</div>
|
||||
|
||||
<h2>Últimas Entradas</h2>
|
||||
<ul>
|
||||
{% for page in section.pages %}
|
||||
<li>
|
||||
{{ page.date }} - <a href="{{ page.permalink }}">{{ page.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue