base_info.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!-- post footer -->
  2. <footer class="card-content-footer">
  3. <span class="soumaicon">
  4. <svg>
  5. <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
  6. </svg>
  7. </span>
  8. {% set año = article.date|strftime('%Y') %}
  9. {% set mes = article.date|strftime('%m') %}
  10. {% set nombre_mes = article.date|strftime('%B') %}
  11. <time class="entry-date published" itemprop="datePublished"
  12. datetime="{{ article.date.isoformat() }}">
  13. <small>
  14. {{ article.date|strftime('%a %-d') }}
  15. <a href="{{ SITEURL }}/archives/{{ año }}/{{ mes }}/"
  16. title="{% trans %}Artículos de {{ nombre_mes }} de {{ año }}{% endtrans %}">
  17. {{ nombre_mes }}
  18. </a>
  19. <a href="{{ SITEURL }}/archives/{{ año }}/"
  20. title="{% trans %}Artículos de {{ año }}{% endtrans %}">{{ año }}
  21. </a>
  22. </small>
  23. </time>
  24. {% if article.modified %}
  25. <p>
  26. <span class="soumaicon">
  27. <svg>
  28. <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar"></use>
  29. </svg>
  30. </span>
  31. <span class="edit-link" title="{{ _('Fecha de modificación') }}">
  32. <small class="screen-reader-text">{{ _('Modificado el') }} </small>
  33. <time class="updated" datetime="{{ article.modified.isoformat() }}" itemprop="dateModified">
  34. <small>{{ article.locale_modified }}</small>
  35. </time>
  36. </span>
  37. </p>
  38. {% endif %}
  39. {% if not HIDE_AUTHORS and article.authors %}
  40. {% for author in article.authors %}
  41. <p itemprop='author' itemscope itemtype="https://schema.org/Person">
  42. <span class="soumaicon">
  43. <svg>
  44. <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#user" />
  45. </svg>
  46. </span>
  47. <small itemprop="name">
  48. <a href="{{ SITEURL }}/{{ author.url }}" itemprop="url"
  49. title="{% trans %}Autor del artículo{% endtrans %}">{{ author }}</a>{% if not loop.last %}, {% endif %}
  50. </small>
  51. </p>
  52. {% endfor %}
  53. {% endif %}
  54. {% import 'translations.html' as translations with context %}
  55. {% if translations.translations_for(article) %}
  56. <span class="soumaicon">
  57. <svg>
  58. <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#translate" />
  59. </svg>
  60. </span>
  61. <small>
  62. {{ translations.translations_for(article) }}
  63. </small>
  64. {% else %}
  65. {% endif %}
  66. </footer>
  67. <!-- end of post footer -->
  68. <!-- /.post-info -->