From ddc619f2e7ac4d751a20ee412b1be75a7201d439 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 31 Aug 2021 19:56:45 +0200 Subject: [PATCH] WebHost: sample yamls: some formatting issues --- WebHostLib/templates/options.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebHostLib/templates/options.yaml b/WebHostLib/templates/options.yaml index c84ee3f8..6fc06c46 100644 --- a/WebHostLib/templates/options.yaml +++ b/WebHostLib/templates/options.yaml @@ -58,7 +58,7 @@ progression_balancing: {%- for entry, default in data.items() %} {{ entry }}: {{ default }}{% if notes[entry] %} # {{ notes[entry] }}{% endif %} {%- endfor -%} -{%- endmacro -%} +{% endmacro %} {{ game }}: {%- for option_key, option in options.items() %} {{ option_key }}:{% if option.__doc__ %} # {{ option.__doc__ | replace('\n', '\n#') | indent(4, first=False) }}{% endif %} @@ -71,5 +71,5 @@ progression_balancing: {%- else %} {{ yaml_dump(option.default) | indent(4, first=False) }} {%- endif -%} - {%- endfor -%} + {%- endfor %} {% if not options %}{}{% endif %}