Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/samrobbins85/hugo-developer-portfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Robbins <samrobbinsgb@gmail.com>2020-07-11 16:00:49 +0300
committerSam Robbins <samrobbinsgb@gmail.com>2020-07-11 16:00:49 +0300
commitab2ccd31a9aaaf48449d7e09c9d62d29cf233f22 (patch)
treefaa8d015e0bdc46540045f00a5ff25a723dea1a9
parent4efe43c64c45c80f16c5b548295c7793db2b5e58 (diff)
Fix Built with section showing up on pages without it
-rw-r--r--layouts/_default/single.html4
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}}