diff --git a/templates/page.html b/templates/page.html index 4b67fcdbf1840328a33bf46809d4dfc849e01ffd..2aa2a9a0d33b989a32b15a4c566127d39b92ab6b 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,14 +1 @@ -{% extends "base.html" %} - -{% block main %} - <section class="section"> - <div class="container"> - <h1 class="title is-1">{{ page.title }}</h1> - {% block content %} - <div class="content mt-4"> - {{ page.content | safe }} - </div> - {% endblock content %} - </div> - </section> -{% endblock %} +{% extends "pages/content.html" -%} diff --git a/templates/pages/content.html b/templates/pages/content.html new file mode 100644 index 0000000000000000000000000000000000000000..4b67fcdbf1840328a33bf46809d4dfc849e01ffd --- /dev/null +++ b/templates/pages/content.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block main %} + <section class="section"> + <div class="container"> + <h1 class="title is-1">{{ page.title }}</h1> + {% block content %} + <div class="content mt-4"> + {{ page.content | safe }} + </div> + {% endblock content %} + </div> + </section> +{% endblock %}