{% if header_html %}
{{ header_html }}
{% endif %}
page #{{ i }} of {{ last }}: {{ relative_directory }}
{% set all_sections = image_file_paths|list + content_html_strings|list %}
{% if all_sections|length > 1 %}
{% endif %}
{% if metadata_json_dict|length > 0 %}
{% for key, value in metadata_json_dict.items() %}
{{ key }}: {{ value }}
{% if show_one_key_per_line %}
{% endif %}
{% endfor %}
{% endif %}
{% if form_schema %}
{% endif %}
{% set tabindex = namespace(value=1) %}
{% set section_counter = namespace(value=1) %}
{% for image_file_path in image_file_paths %}
{{ image_file_path }}
{% if section_counter.value > 1 %}
[go to top]
{% endif %}

{% set tabindex.value = tabindex.value + 1 %}
{% set section_counter.value = section_counter.value + 1 %}
{% endfor %}
{% for name, content_html_string in content_html_strings %}
{{ name }}
{% if section_counter.value > 1 %}
[go to top]
{% endif %}
{{ content_html_string }}
{% set section_counter.value = section_counter.value + 1 %}
{% endfor %}