index.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {% extends "base.html" %}
  2. {% block head %}
  3. {% block title %}
  4. <title>{% if articles_page.number != 1 %}{{ _('Página') }} {{ articles_page.number }} | {% endif %}{{ SITENAME }}</title>
  5. {% endblock %}
  6. {{ super() }}
  7. {% if lang_siteurls and articles_page.number == 1 %}
  8. {% for lang, url in lang_siteurls.items() %}
  9. <link rel="alternate" hreflang="{{ lang }}" href="{{ url }}"/>
  10. {% endfor %}
  11. {% endif %}
  12. {% block seo %}
  13. {% set SITE_DESCRIPTION = _('Videoteca de software libre brindando avance tecnológico') %}
  14. <!-- Meta Index -->
  15. <meta name="description" content="{{ SITE_DESCRIPTION }}">
  16. <!-- OpenGraph -->
  17. <meta property="og:title" content="{{ SITENAME }}">
  18. <meta property="og:description" content="{{ SITE_DESCRIPTION }}">
  19. <meta property="og:url" content="{{ SITEURL }}">
  20. <meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-96x96.png"/>
  21. <meta property="og:type" content="website">
  22. <!-- Twitter -->
  23. <meta name="twitter:card" content="summary_large_image"/>
  24. <meta name="twitter:title" content="{{ SITENAME }}"/>
  25. <meta name="twitter:description" content="{{ SITE_DESCRIPTION }}"/>
  26. <meta name="twitter:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-96x96.png"/>
  27. {% endblock %}
  28. {% endblock %}
  29. {% block sitename %}
  30. <h1 class="title is-1 is-spaced">{{ SITENAME }}</h1>
  31. <h4 class="subtitle is-4">{{ SITESUBTITLE }}</h4>
  32. {% endblock %}