You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2022/07/15 20:40:42 UTC
[nifi-site] branch main-staging updated: NIFI-9802 Removed unnecessary spacing for base template
This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main-staging
in repository https://gitbox.apache.org/repos/asf/nifi-site.git
The following commit(s) were added to refs/heads/main-staging by this push:
new 344bacb NIFI-9802 Removed unnecessary spacing for base template
344bacb is described below
commit 344bacb25551d8f41606a66c3c755db6f8b82588
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Fri Jul 15 15:40:35 2022 -0500
NIFI-9802 Removed unnecessary spacing for base template
---
layouts/_default/baseof.html | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 222421b..298591d 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -12,21 +12,21 @@
<script src="/assets/js/webfontloader.js"></script>
</head>
<body>
- {{ if .Params.menu }}
+ {{- if .Params.menu -}}
{{ partial .Params.menu . }}
- {{ else }}
+ {{- else -}}
{{ partial "topbar.html" . }}
- {{ end }}
- {{ if .Params.containerEnabled }}
+ {{- end -}}
+ {{- if .Params.containerEnabled }}
<div class="row">
<div class="large-12 columns">
- <div class="large-space"></div>
- {{ end }}
+ <div class="large-space"></div>
+ {{- end -}}
{{ block "main" . }}{{ end }}
- {{ if .Params.containerEnabled }}
+ {{- if .Params.containerEnabled -}}
</div>
</div>
- {{ end }}
+ {{ end -}}
{{ partial "disclaimer.html" . }}
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/foundation.js"></script>