From 0f5366761d5bedc113baaf7e5e74351167f6fcf7 Mon Sep 17 00:00:00 2001 From: Fynn Becker Date: Wed, 27 Mar 2019 11:23:33 +0100 Subject: [PATCH] chore: Ignore Nunjucks whitespace control --- ui/templates/base.njk | 4 ++-- ui/templates/nav.njk | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ui/templates/base.njk b/ui/templates/base.njk index 887fe76e..279540cf 100644 --- a/ui/templates/base.njk +++ b/ui/templates/base.njk @@ -18,7 +18,7 @@ - {% if project.branding -%} + {% if project.branding %} - {%- endif %} + {% endif %} diff --git a/ui/templates/nav.njk b/ui/templates/nav.njk index 8ab44147..24e71b88 100644 --- a/ui/templates/nav.njk +++ b/ui/templates/nav.njk @@ -1,6 +1,6 @@ {% macro link (path, text) %} @@ -11,29 +11,29 @@ {% macro nav (items, depth = 0) %} {% set depth = depth + 1 %} {% endmacro %}