Heuzef - Les notes excentriques d'un bidouilleur.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

71 righe
2.2 KiB

  1. {% extends "base.html" %}
  2. {% block head %}
  3. {{ super() }}
  4. <meta name="description" content="{{ article.summary|striptags }}">
  5. {% endblock %}
  6. {% block title %}
  7. {{ article.title|striptags }} {{ super() }}
  8. {% endblock %}
  9. {% block page_header %}
  10. {% if article.link %}
  11. <a href="{{ article.link }}" rel="bookmark">
  12. {% endif %}
  13. {{ article.title }}
  14. {% if article.link %}
  15. <i class="fas fa-link"></i></a>
  16. {% endif %}
  17. {% endblock %}
  18. {% block content %}
  19. <article class="article">
  20. <header>
  21. <ul class="list-inline">
  22. <li class="list-inline-item text-muted" title="{{ article.date.isoformat() }}">
  23. <i class="fas fa-clock"></i>
  24. {{ article.locale_date }}
  25. </li>
  26. <li class="list-inline-item">
  27. <i class="fas fa-folder-open"></i>
  28. <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
  29. </li>
  30. {% if not HIDE_AUTHORS and article.authors %}
  31. <li class="list-inline-item">
  32. <i class="fas fa-user"></i>
  33. {% for author in article.authors %}
  34. <a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
  35. {% endfor %}
  36. </li>
  37. {% endif %}
  38. {% if article.tags %}
  39. <li class="list-inline-item">
  40. <i class="fas fa-tag"></i>
  41. {% for tag in article.tags %}
  42. <a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% if not loop.last %}, {% endif %}
  43. {% endfor %}
  44. </li>
  45. {% endif %}
  46. {% if article.translations %}
  47. <li class="list-inline-item">
  48. <i class="fas fa-globe"></i>
  49. {% for translation in article.translations %}
  50. <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
  51. {% endfor %}
  52. </li>
  53. {% endif %}
  54. </ul>
  55. </header>
  56. <div class="content">
  57. {{ article.content }}
  58. {% if article.link %}
  59. <p class="link-button"><a href="{{ article.link }}" rel="bookmark">
  60. <i class="fas fa-link"></i> view link
  61. </a></p>
  62. {% endif %}
  63. </div>
  64. </article>
  65. {% include 'include/comments.html' %}
  66. {% endblock %}