diff options
author | Natalia Ventre <natalia.ventre@gmail.com> | 2012-02-08 21:58:21 -0200 |
---|---|---|
committer | Natalia Ventre <natalia.ventre@gmail.com> | 2012-02-08 21:58:21 -0200 |
commit | 612ca2d53693f2ba41b6a654a1dc554238787a5a (patch) | |
tree | 6db0daf0c21f5f2a8f2f953277b1ba2eedc55648 /Just-Read/templates/index.html | |
parent | 7fc66f3071afb214d26bf0a7b20048a751f223db (diff) | |
download | pelican-themes-612ca2d53693f2ba41b6a654a1dc554238787a5a.tar.gz |
added Just Read theme
Diffstat (limited to 'Just-Read/templates/index.html')
-rw-r--r-- | Just-Read/templates/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Just-Read/templates/index.html b/Just-Read/templates/index.html new file mode 100644 index 0000000..262c23e --- /dev/null +++ b/Just-Read/templates/index.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} + +{% block content %} +<div role="main" class="content clearfix"> +{% for article in articles %} + + {% if loop.index == 1 %} + <article class="wrapper main"> + <h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1> + {{ article.summary }} <a class="more" href="{{ SITEURL }}/{{ article.url }}">read more</a> + </article> + + {% if loop.length > 1 %} + <div class="wrapper main"> + <h3>More posts</h3> + <ol class="archive"> + {% endif %} + {% else %} + <li class="clearfix"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}"><time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time> {{ article.title }}</a></li> + {% endif %} + {% endfor %} + </ol> + </div> +</div> +{% endblock content %}
\ No newline at end of file |