{% macro generate(test_number) %} {% if test_number < 10 %} {% set test_id = "0" ~ test_number %} {% else %} {% set test_id = test_number %} {% endif %} {% set test_section_path = "test" ~ test_id ~ "/_index.md" %} {% set test_section = get_section(path=test_section_path) %}