article_info.html 3.2 KB

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