1
0
Fork 0
forked from github/pelican

Add static pages listing and options.

This commit is contained in:
Alexis Metaireau 2010-11-05 02:05:00 +00:00
commit f7cbef6393
4 changed files with 16 additions and 2 deletions

View file

@ -1,6 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% block content_title %}{% endblock %}
{% if articles %}
{% for article in articles %}
{% if loop.index == 1 %}
<aside id="featured" class="body"><article>
@ -49,4 +50,12 @@
{% endfor %}
</ol><!-- /#posts-list -->
</section><!-- /#content -->
{% else %}
<section id="content" class="body">
<h2>Pages</h2>
{% for page in PAGES %}
<li><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</section>
{% endif %}
{% endblock content %}