diff options
author | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:01:09 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:01:09 +0200 |
commit | fc476ec89f95a8011ae132dfda05d05ff4642d7a (patch) | |
tree | 0e807e86757f9555479354a6e26b24cf08370912 /themes/elenq/templates/index.html |
Template V1
Diffstat (limited to 'themes/elenq/templates/index.html')
-rw-r--r-- | themes/elenq/templates/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/elenq/templates/index.html b/themes/elenq/templates/index.html new file mode 100644 index 0000000..169e661 --- /dev/null +++ b/themes/elenq/templates/index.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} +{% block content %} +<section id="content"> +{% block content_title %} +<h2>Home</h2> +{% endblock %} + +<ol id="post-list"> +{% for article in articles_page.object_list %} + <li><article class="hentry"> + <header> <h3 class="entry-title"><a class="text-nodeco-black" href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h3> </header> + <footer class="post-info"> + <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time> + <address class="vcard author">By + {% for author in article.authors %} + <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> + {% endfor %} + </address> + </footer><!-- /.post-info --> + <div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content --> + </article></li> +{% endfor %} +</ol><!-- /#posts-list --> +{% if articles_page.has_other_pages() %} + {% include 'pagination.html' %} +{% endif %} +</section><!-- /#content --> +{% endblock content %} |