diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 4 | ||||
-rw-r--r-- | templates/section.html | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/templates/index.html b/templates/index.html index b48d6d0..3747250 100644 --- a/templates/index.html +++ b/templates/index.html @@ -39,10 +39,6 @@ <div class="content text"> {% block content %} - <div id="features" class="heading-text"> - {{ section.title }} - </div> - {{ section.content | safe }} {% endblock content %} </div> diff --git a/templates/section.html b/templates/section.html index 09763b9..0725de2 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1 +1,10 @@ +{% import "_macros.html" as macros %} {% extends "index.html" %} + +{% block title %}{{ section.title }} | {{ super() }} {% endblock title %} + + +{% block content %} +<div class="heading-text">{{ section.description }}</div> +{{ section.content | safe }} +{% endblock content %} |