Heuzef - Les notes excentriques d'un bidouilleur.
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.

index.html 1.6 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {% extends "base.html" %}
  2. {% block head %}
  3. {{ super() }}
  4. {% if DESCRIPTION %}
  5. <meta name="description" content="{{ DESCRIPTION|striptags }}">
  6. {% endif %}
  7. {% endblock %}
  8. {% block title %}
  9. {{ SITENAME }} | {{ SITESUBTITLE }}
  10. {% endblock %}
  11. {% block page_header %}
  12. Notes
  13. {% endblock %}
  14. {% block content %}
  15. {% for article in articles_page.object_list %}
  16. <article class="row teaser">
  17. <header class="col-sm-4 text-muted">
  18. <ul>
  19. <li title="{{ article.date.isoformat() }}">
  20. <i class="fas fa-clock"></i>
  21. {{ article.locale_date }}
  22. </li>
  23. <li>
  24. <i class="fas fa-folder-open"></i>
  25. <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
  26. </li>
  27. {% if not HIDE_AUTHORS and article.authors %}
  28. <li>
  29. <i class="fas fa-user"></i>
  30. {% for author in article.authors %}
  31. <a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
  32. {% endfor %}
  33. </li>
  34. {% endif %}
  35. </ul>
  36. </header>
  37. <div class="col-sm-8">
  38. <h4 class="title">
  39. <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.link %} <i class="fas fa-link"></i>{% endif %}</a>
  40. </h4>
  41. <div class="content">
  42. {{ article.summary|striptags }}
  43. </div>
  44. </div>
  45. </article>
  46. {% if not loop.last %}
  47. <hr>
  48. {% endif %}
  49. {% endfor %}
  50. {% include 'include/pagination.html' %}
  51. {% endblock %}