diff options
author | Fish <aroaminggeek@users.noreply.github.com> | 2017-03-25 16:38:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-25 16:38:01 -0600 |
commit | 36c2ef5937c24f9f276f75ac439ec2670f33e5b3 (patch) | |
tree | 3a5df2b2bbc95fefc847a2c58a2ec862188e2cd3 /pelican-striped-html5up/templates/index.html | |
parent | d7779b637b990aa70266d55faf842fbb4c837715 (diff) | |
download | pelican-themes-36c2ef5937c24f9f276f75ac439ec2670f33e5b3.tar.gz |
pelican-striped-html5up added
for pull request to origin
Diffstat (limited to 'pelican-striped-html5up/templates/index.html')
-rw-r--r-- | pelican-striped-html5up/templates/index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pelican-striped-html5up/templates/index.html b/pelican-striped-html5up/templates/index.html new file mode 100644 index 0000000..7cd6d61 --- /dev/null +++ b/pelican-striped-html5up/templates/index.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% block content %} +<div id="content"> +<div class="inner"> +<!-- {% block content_title %} +<h2>All articles</h2> +{% endblock %} --> + +{% for article in articles_page.object_list %} + <article class="box post post-excerpt"> + <header> + <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> + <p>{{article.headline}}</p> + </header> + <div class="info"> + <span class="date" datetime="{{ article.date.isoformat() }}"><span class="month">{{ article.date | strftime('%b') }}</span> <span class="day">{{ article.date | strftime('%d') }}</span> <span class="month"> {{ article.date | strftime('%Y') }}</span></span> + <!-- <ul class="stats"> + <li><a href="#" class="icon fa-comment">16</a></li> + <li><a href="#" class="icon fa-heart">32</a></li> + <li><a href="#" class="icon fa-twitter">64</a></li> + <li><a href="#" class="icon fa-facebook">128</a></li> + </ul> --> + </div><!-- /.post-info --> + <div class="entry-content"> </div><!-- /.entry-content --> + </article> +{% endfor %} +<!-- /#posts-list --> +{% if articles_page.has_other_pages() %} + {% include 'pagination.html' %} +{% endif %} +</div> +</div><!-- /#content --> +{% endblock content %} |