index.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. <!-- Languages -->
  9. {% for lang, url in lang_siteurls.items() %}
  10. <link rel="alternate" hreflang="{{ lang }}" href="{{ url }}/"/>
  11. {% endfor %}
  12. {% endif %}
  13. {% block seo %}
  14. {% set SITE_DESCRIPTION = _('Tutoriales para GNU con Linux-libre enfocado a la cultura libre, programas libres y respetando la privacidad.') %}
  15. <!-- Meta Index -->
  16. <meta name="author" content="{{ AUTHOR }}"/>
  17. <meta name="description" content="{{ SITE_DESCRIPTION }}"/>
  18. <!-- OpenGraph -->
  19. <meta property="og:title" content="{{ SITESUBTITLE }} - {{ SITENAME }}"/>
  20. <meta property="og:site_name" content="{{ SITENAME }}">
  21. <meta property="og:description" content="{{ SITE_DESCRIPTION }}"/>
  22. <meta property="og:url" content="{{ SITEURL }}"/>
  23. <meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/cl-favicon-96x96.png"/>
  24. <meta property="og:type" content="blog"/>
  25. <!-- Twitter -->
  26. <meta name="twitter:card" content="summary_large_image"/>
  27. <meta name="twitter:title" content="{{ SITENAME }}"/>
  28. <meta name="twitter:description" content="{{ SITE_DESCRIPTION }}"/>
  29. <meta name="twitter:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/cl-favicon-96x96.png"/>
  30. {% endblock %}
  31. {% endblock %}
  32. {% block sitename %}
  33. <h1 class="title is-1 is-spaced" itemprop="name">{{ SITENAME }}</h1>
  34. <p class="subtitle is-4">{{ SITESUBTITLE }}</p>
  35. {% endblock %}