diff options
author | Sam Robbins <samrobbinsgb@gmail.com> | 2020-07-11 16:00:49 +0300 |
---|---|---|
committer | Sam Robbins <samrobbinsgb@gmail.com> | 2020-07-11 16:00:49 +0300 |
commit | ab2ccd31a9aaaf48449d7e09c9d62d29cf233f22 (patch) | |
tree | faa8d015e0bdc46540045f00a5ff25a723dea1a9 | |
parent | 4efe43c64c45c80f16c5b548295c7793db2b5e58 (diff) |
Fix Built with section showing up on pages without it
-rw-r--r-- | layouts/_default/single.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0c076cb..8350af5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -138,6 +138,7 @@ <hr class="full-width"> {{if isset .Params "tech"}} + {{if (gt (len .Params.tech) 0)}} <h2 class="uk-text-center uk-heading-small">Built with</h2> <section > @@ -160,6 +161,7 @@ <hr class="full-width"> {{end}} + {{end}} <div class="content"> {{.Content }} @@ -169,4 +171,4 @@ </section> -{{end}}
\ No newline at end of file +{{end}} |