File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ {% extends "layout.html" %}
2
+ {% from "macros/categories.html" import render_categories %}
3
+ {% block title %}{{ this.title }}{% endblock %}
4
+ {% block header %}{{ this.title }}{% endblock %}
5
+ {% block body %}
6
+ < h1 > Categories</ h1 >
7
+ {{ render_categories(this) }}
8
+ {{ this }}
9
+ < hr >
10
+ {% endblock %}
Original file line number Diff line number Diff line change
1
+ {% extends "layout.html" %}
2
+ {% from "macros/categories.html" import render_category_list %}
3
+ {% block title %}{{ this.parent.title }} - {{ this.name }}{% endblock %}
4
+ {% block header %}{{ this.parent.title }}{% endblock %}
5
+ {% block body %}
6
+ < h1 > Category: {{ this.name }}</ h1 >
7
+ {{ render_category_list(this.children) }}
8
+ < hr >
9
+ < strong > < a href ="{{ this.parent.path }} "> All Categories</ a > </ strong >
10
+ {% endblock %}
You can’t perform that action at this time.
0 commit comments