A theme for pelican which mimics the look of LaTeX documents
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

  1. {% extends "base.html" %}
  2. {% block content %}
  3. <section id="content">
  4. {% block content_title %}
  5. <h2>All articles</h2>
  6. {% endblock %}
  7. <ol id="post-list">
  8. {% for article in articles_page.object_list %}
  9. <li>
  10. <article class="hentry">
  11. <header>
  12. <h2 class="entry-title">
  13. <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
  14. </h2>
  15. <div class="post-info">
  16. <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
  17. <address class="vcard author">By
  18. {% for author in article.authors %}
  19. <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
  20. {% endfor %}
  21. </address>
  22. </div><!-- /.post-info -->
  23. </header>
  24. <div class="entry-content">
  25. {{ article.summary }}
  26. </div><!-- /.entry-content -->
  27. </article>
  28. </li>
  29. {% endfor %}
  30. </ol><!-- /#posts-list -->
  31. {% if articles_page.has_other_pages() %}
  32. {% include 'pagination.html' %}
  33. {% endif %}
  34. </section><!-- /#content -->
  35. {% endblock content %}
  36. <!-- vim:ts=2:sw=2:et:ft=html -->