diff options
author | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-04-28 17:11:28 -0500 |
---|---|---|
committer | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-04-28 17:11:28 -0500 |
commit | f35a7b0e70032de2feec9f3bda09da44cf0e1073 (patch) | |
tree | 1e0e09581dd3707d0ceb93346452dd14451a8423 /libretube-theme/templates/page.html |
first commit
Diffstat (limited to 'libretube-theme/templates/page.html')
-rw-r--r-- | libretube-theme/templates/page.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/libretube-theme/templates/page.html b/libretube-theme/templates/page.html new file mode 100644 index 0000000..47db027 --- /dev/null +++ b/libretube-theme/templates/page.html @@ -0,0 +1,49 @@ +{% extends "base.html" %} + +{% block html_lang %}{{ page.lang }}{% endblock%} + +{% block head %} + {% block title %} + <title>{{ page.title }} - {{SITENAME}}</title> + {% endblock %} + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(page) %} + {{ translations.entry_hreflang(page) }} + {% endif %} + {{ super() }} + {% if page.styles %} + {% for style in page.styles %} + {{ style }} + {% endfor %} + {% endif %} + {% block seo %} + <!-- Meta Page --> + <meta name="description" content="{{ SITENAME }} – {{ SITESUBTITLE }}"/> + <meta name="author" content="{{ page.author }}"/> + <!-- OpenGraph --> + <meta property="og:type" content="article"/> + <meta property="og:title" content="{{ page.title }}"/> + <meta property="og:description" content="{{ SITESUBTITLE }}"/> + <meta property="og:site_name" content="{{ SITENAME }}"/> + <meta property="og:url" content="{{ SITEURL }}/{{ page.url }}"/> + <!-- Twitter --> + <meta name="twitter:card" content="summary"/> + <meta name="twitter:title" content="{{ page.title }}"/> + <meta name="twitter:description" content="{{ SITESUBTITLE }}"/> + <meta name="twitter:url" content="{{ SITEURL }}/{{ page.url }}"/> + {% endblock %} +{% endblock head %} + +{%- block content -%} + <!-- Main --> + <div class="row mt-10"> + <div class="col-md-9 mx-auto text-justify"> + <!-- dinamic page content --> + <div class="ml-3"> + {{ page.content }} + </div> + <!-- End dinamic page content --> + </div> + </div> + <!-- End Main --> +{%- endblock -%} |