From 32c819e8056817298530bbc691ee41032f1a27bb Mon Sep 17 00:00:00 2001 From: Nils Carstensen Date: Thu, 4 Nov 2021 19:47:23 +0100 Subject: [PATCH] Fixed: all broken newlines. --- src/templates/readme.j2 | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/src/templates/readme.j2 b/src/templates/readme.j2 index e70fc01..eb0b839 100644 --- a/src/templates/readme.j2 +++ b/src/templates/readme.j2 @@ -6,7 +6,6 @@ {{ descriptionBlock(items) }} {%- endfor %}   - {%- if tableOfContents == true %} # Table of Contents {%- if requirements == true %} @@ -27,10 +26,9 @@ - [Outputs](#outputs) {%- endif %} - [Contributing](#contributing) -{%- endif -%} - -{% if requirements == true %} +{%- endif %}   +{%- if requirements == true %} # Requirements | Software | Version | Source | | :-------- | :-------- | :----- | @@ -39,12 +37,10 @@ {%- endmacro -%} {% for items in versions %} {{ buildRequirements(items.name, items.version, items.source) }} -{%- endfor %} -{%- endif -%} -{% if resourcesStatement == true %} - -{% if gettingStarted == true %} +{%- endfor -%} +{%- endif %}   +{%- if gettingStarted == true %} # Getting Started ## Basic usage {%- macro basicUsage(line) -%} @@ -62,6 +58,7 @@ {%- endfor %} {%- endif %}   +{%- if resourcesStatement == true %} # Resources | Resource | | :------- | @@ -71,10 +68,9 @@ {% for items in resources %} {{ buildResources(items) }} {%- endfor %} -{%- endif -%} -{% if varsstatement == true %} - +{%- endif %}   +{%- if varsstatement == true %} # Variables | Variable | Type | Default | Description | Sensitive | | :------- | :--: | :------ | :---------- | :-------- | @@ -84,10 +80,9 @@ {% for items in variables %} {{ buildVars(items.name, items.type, items.default, items.description, items.sensitive) }} {%- endfor %} -{%- endif -%} -{% if outsstatement == true %} - +{%- endif %}   +{%- if outsstatement == true %} # Outputs | Output | Description | | :----- | :---------- | @@ -97,7 +92,7 @@ {% for items in outputs %} {{ buildOuts(items.name, items.description) }} {%- endfor %} -{%- endif -%} +{%- endif %}   ## Contributing {%- if contribute == True %}