Skip to content

Commit 9f8a5e6

Browse files
committed
Fix jinja template
1 parent 087d978 commit 9f8a5e6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

config/templates/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Templates Files
2+
3+
The composition of the `index.md` files that are placed inside each tree node directory of the
4+
handbook navigation tree is done using Jinja2 template engine with a custom
5+
[template file](/config/templates/index-template.j2).

config/templates/navigation-file-template.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
{% for g in guides -%}
1919
- {{g}}
20-
{% endfor -%}
20+
{% endfor %}
2121
{% endif -%}
2222

2323
{% if topics is defined and topics -%}
2424
## Topics
2525

2626
{% for t in topics -%}
2727
- {{t}}
28-
{% endfor -%}
28+
{% endfor %}
2929
{% endif -%}

0 commit comments

Comments
 (0)