A theme for pelican which mimics the look of LaTeX documents
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

há 4 anos
há 4 anos
há 4 anos
12345678910111213141516
  1. {% macro translations_for(article) %}
  2. {% if article.translations %}
  3. Translations:
  4. {% for translation in article.translations %}
  5. <a href="{{ SITEURL }}/{{ translation.url }}" hreflang="{{ translation.lang }}">{{ translation.lang }}</a>
  6. {% endfor %}
  7. {% endif %}
  8. {% endmacro %}
  9. {% macro entry_hreflang(entry) %}
  10. {% if entry.translations %}
  11. {% for translation in entry.translations %}
  12. <link rel="alternate" hreflang="{{ translation.lang }}" href="{{ SITEURL }}/{{ translation.url }}">
  13. {% endfor %}
  14. {% endif %}
  15. {% endmacro %}