aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/create_stork_toml.html
diff options
context:
space:
mode:
authorJieiku2023-06-17 08:50:42 -0700
committerJieiku2023-06-17 08:50:42 -0700
commit01359d82330caded871aa7d178b00d7bc2cd16f2 (patch)
treee728fdaf9f38674c8fb947af88297b93b55ea0fe /templates/macros/create_stork_toml.html
parent0f00830b1d52c571cf725e0b522f09c43595462a (diff)
downloadabridge-01359d82330caded871aa7d178b00d7bc2cd16f2.tar.gz
abridge-01359d82330caded871aa7d178b00d7bc2cd16f2.tar.bz2
abridge-01359d82330caded871aa7d178b00d7bc2cd16f2.zip
Simplify Logic
Diffstat (limited to 'templates/macros/create_stork_toml.html')
-rw-r--r--templates/macros/create_stork_toml.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/macros/create_stork_toml.html b/templates/macros/create_stork_toml.html
index f754e2e..ee1d765 100644
--- a/templates/macros/create_stork_toml.html
+++ b/templates/macros/create_stork_toml.html
@@ -7,9 +7,9 @@
{% endif -%}
{%- endif -%}
{%- endfor -%}
-{%- if found -%}{%- if section.subsections -%},
+{%- if found and section.subsections -%},
{% for subsection in section.subsections -%}
{{ self::from_section(section=subsection) }}
{%- endfor -%}
-{%- endif -%}{%- endif -%}
-{%- endmacro from_section -%} \ No newline at end of file
+{%- endif -%}
+{%- endmacro from_section -%}