summaryrefslogtreecommitdiff
path: root/libretube-theme/templates/index.html
diff options
context:
space:
mode:
authorsrv <enmanuel.saravia.externo@pandero.com.pe>2025-04-28 17:11:28 -0500
committersrv <enmanuel.saravia.externo@pandero.com.pe>2025-04-28 17:11:28 -0500
commitf35a7b0e70032de2feec9f3bda09da44cf0e1073 (patch)
tree1e0e09581dd3707d0ceb93346452dd14451a8423 /libretube-theme/templates/index.html
first commit
Diffstat (limited to 'libretube-theme/templates/index.html')
-rw-r--r--libretube-theme/templates/index.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/libretube-theme/templates/index.html b/libretube-theme/templates/index.html
new file mode 100644
index 0000000..e8746c7
--- /dev/null
+++ b/libretube-theme/templates/index.html
@@ -0,0 +1,37 @@
+{% extends "base.html" %}
+
+{% block head %}
+ {% block title %}
+ <title>{% if articles_page.number != 1 %}{{ _('Página') }} {{ articles_page.number }} | {% endif %}{{ SITENAME }}</title>
+ {% endblock %}
+ {{ super() }}
+ {% if lang_siteurls and articles_page.number == 1 %}
+ {% for lang, url in lang_siteurls.items() %}
+ <link rel="alternate" hreflang="{{ lang }}" href="{{ url }}"/>
+ {% endfor %}
+ {% endif %}
+
+ {% block seo %}
+ {% set SITE_DESCRIPTION = _('Videoteca de software libre brindando avance tecnológico') %}
+ <!-- Meta Index -->
+ <meta name="description" content="{{ SITE_DESCRIPTION }}">
+
+ <!-- OpenGraph -->
+ <meta property="og:title" content="{{ SITENAME }}">
+ <meta property="og:description" content="{{ SITE_DESCRIPTION }}">
+ <meta property="og:url" content="{{ SITEURL }}">
+ <meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-96x96.png"/>
+ <meta property="og:type" content="website">
+
+ <!-- Twitter -->
+ <meta name="twitter:card" content="summary_large_image"/>
+ <meta name="twitter:title" content="{{ SITENAME }}"/>
+ <meta name="twitter:description" content="{{ SITE_DESCRIPTION }}"/>
+ <meta name="twitter:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/favicon/favicon-96x96.png"/>
+ {% endblock %}
+{% endblock %}
+
+{% block sitename %}
+ <h1 class="title is-1 is-spaced">{{ SITENAME }}</h1>
+ <h4 class="subtitle is-4">{{ SITESUBTITLE }}</h4>
+{% endblock %}