diff --git a/blog/templates/edition-2/section.html b/blog/templates/edition-2/section.html new file mode 100644 index 00000000..572012b6 --- /dev/null +++ b/blog/templates/edition-2/section.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% import "edition-2/macros.html" as macros %} + +{% block title %}{{ section.title }} | {{ config.title }}{% endblock title %} + +{% block main %} + +

{{ section.title }}

+ +{% block introduction %}{% endblock introduction %} + +
+ {% for page in section.pages %} + {{ macros::post_link(page=page) }} + {% endfor %} +
+ +{% endblock main %} diff --git a/blog/templates/section.html b/blog/templates/section.html index 3b879148..fc048eab 100644 --- a/blog/templates/section.html +++ b/blog/templates/section.html @@ -1,19 +1 @@ -{% extends "base.html" %} - -{% import "macros.html" as macros %} - -{% block title %}{{ section.title }} | {{ config.title }}{% endblock title %} - -{% block main %} - -

{{ section.title }}

- -{% block introduction %}{% endblock introduction %} - -
- {% for page in section.pages %} - {{ macros::post_link(page=page) }} - {% endfor %} -
- -{% endblock main %} +{% extends "edition-2/section.html" %}