aboutsummaryrefslogtreecommitdiffstats
path: root/bootlex/templates/index.html
diff options
context:
space:
mode:
authorAlexander Jung-Loddenkemper <alexander.julo@googlemail.com>2012-03-18 14:52:34 +0100
committerAlexander Jung-Loddenkemper <alexander.julo@googlemail.com>2012-03-18 14:52:34 +0100
commite6f3c75122c344a39953c551e1fe480222b23390 (patch)
treea2243ea9b2d07eaa1954c67dfc1f17ae9731d7f6 /bootlex/templates/index.html
parente38b06c659d60590c0000f2938387d7fa161e2e5 (diff)
downloadpelican-themes-e6f3c75122c344a39953c551e1fe480222b23390.tar.gz
added bootlex theme.
Diffstat (limited to 'bootlex/templates/index.html')
-rw-r--r--bootlex/templates/index.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html
new file mode 100644
index 0000000..8e56370
--- /dev/null
+++ b/bootlex/templates/index.html
@@ -0,0 +1,53 @@
+{% extends "base.html" %}
+{% block title %}Blog{%endblock%}
+{% block content %}
+<div id="content">
+{% block content_title %}
+<h1>Blog</h2>
+{% endblock %}
+
+<ul class="unstyled">
+{% for article in articles_page.object_list %}
+ <li>
+ <div>
+ <div class="header">
+ <h2>{{ article.title }}</h2>
+ </div>
+ <p class="meta"><small><span>{% if article.author %}<a href="{{ SITEURL }}author/{{ article.author }}/">{{ article.author }}</a> - {% endif %}</span><span>{{ article.locale_date }}</span> - <span class="tags">{% if article.tags %}{% for tag in article.tags %}<a href="/tag/{{ tag }}/">{{ tag }}</a>{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}</small></p>
+ <div class="entry-content">
+ {{ article.summary }}
+ </div><!-- /.entry-content -->
+ <div class="row">
+ <div class="span1 offset7">
+ <a class="btn btn-small" href="{{ SITEURL }}{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">Mehr</a>
+ </div>
+ </div>
+ </div>
+ </li>
+
+ <hr>
+
+
+{% endfor %}
+</ul><!-- /#posts-list -->
+<div class="pagination pagination-centered">
+ <ul>
+ {% if articles_page.has_previous() %}
+ <li><a href="{{ SITEURL }}{% if articles_page.previous_page_number() != 1 %}{{ page_name }}{{ articles_page.previous_page_number() }}/{% endif %}">←</a></li>
+ {% endif %}
+ {% if articles_page.has_previous() and (articles_page.previous_page_number() != 1) %}
+ <li><a href="{{ SITEURL }}">1</a></li>
+ <li class="disabled"><a href="#">...</a></li>
+ {% endif %}
+ <li class="active"><a href="#">{{ articles_page.number }}</a></li>
+ {% if articles_page.has_next() %}
+ <li><a href="{{ SITEURL }}{{ page_name }}{{ articles_page.next_page_number() }}/">→</a></li>
+ {% endif %}
+ {% if articles_page.has_next() and (articles_page.next_page_number() != articles_paginator.num_pages) %}
+ <li class="disabled"><a href="#">...</a></li>
+ <li><a href="{{ SITEURL }}{{ page_name }}{{ articles_page.num_pages }}/">{{ articles_paginator.num_pages }}</a></li>
+ {% endif %}
+ </ul>
+</div>
+</div><!-- /#content -->
+{% endblock content %}