Mercurial > hg > Blog
annotate themes/tuxlite_tbs/templates/index.html @ 9:6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 01 Jul 2013 04:09:23 +0200 |
parents | |
children |
rev | line source |
---|---|
9
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 {% extends "base.html" %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 {% block content_title %}{% endblock %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 {% block content %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 {% if articles %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 {% for article in articles_page.object_list %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 {# First item #} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 {% if loop.first and not articles_page.has_previous() %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 <div class='article'> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 <div class="content-title"> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 <a href="{{ SITEURL }}/{{ article.url }}"><h1>{{ article.title }}</h1></a> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 {% include "metadata.html" %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 </div> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 <div>{{ article.content }}</div> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 <hr /> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 </div> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 {% if loop.length == 1 %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 {% include 'pagination.html' %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 {% endif %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 {# other items #} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 {% else %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 <div class='article'> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 <a href="{{ SITEURL }}/{{ article.url }}"><h2>{{ article.title }}</h2></a> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 <div class= "well small"> {% include "metadata.html" %} </div> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 <div class="summary">{{ article.summary }} <a class="btn btn-info xsmall" href="{{ SITEURL }}/{{ article.url }}">read more</a></div> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 </div> |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
33 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
34 {% if loop.last and (articles_page.has_previous() or not articles_page.has_previous() and loop.length > 1) %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
35 {% include 'pagination.html' %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
36 {% endif %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
37 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
38 {% endif %} {# First item if #} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
39 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
40 {% endfor %} {# For article #} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
41 {% endif %} {# If articles #} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
42 |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
43 {% endblock content %} |
6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
44 |