first commit
This commit is contained in:
38
libretube-theme/templates/page.html
Normal file
38
libretube-theme/templates/page.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block html_lang %}{{ page.lang }}{% endblock%}
|
||||
|
||||
{% block extra_head %}
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{% if translations.entry_hreflang(page) %}
|
||||
{{ translations.entry_hreflang(page) }}
|
||||
{% endif %}
|
||||
<meta name="author" content="{{ author }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}{{ page.title }}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
|
||||
{% if page.styles %}
|
||||
{% for style in page.styles %}
|
||||
{{ style }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% 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 -%}
|
||||
Reference in New Issue
Block a user