Skip to content

Commit

Permalink
Fix page numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
FreneticScribbler committed Feb 22, 2023
1 parent 282a730 commit 052628c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/templates/item_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<h1 style="page-head">TEC Training Item List</h1>
<spacer length="15" />
{% for category in categories %}

<h2 {% if not forloop.first %}style="breakbefore"{%else%}style="emheader"{%endif%}>{{category}}</h2>
<spacer length="10" />
{% for item in category.items.all %}
Expand All @@ -22,4 +21,5 @@
<spacer length="8" />
{% endfor %}
{% endfor %}
<namedString id="lastPage"><pageNumber/></namedString>
{% endblock %}

0 comments on commit 052628c

Please sign in to comment.