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

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Pettersson <petterssonjoel@gmail.com>2022-08-15 00:36:51 +0300
committerJoel Pettersson <petterssonjoel@gmail.com>2022-08-15 00:40:41 +0300
commit9199d37be2542b1b15088978fc4e3951c05b8af3 (patch)
tree1c4c370ce70383382b43ee234b36b7bd34cdc69c
parent41ee32b40dd9ec193b3f9230cc05dee36580a91b (diff)
Fix "View All Services" button config conditional
Previously, the button would be shown if and only if `show_services_button` was set to `false`. This inverts the conditional. NOTE: This change will potentially break existing sites.
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 8dcae98..6fa2a0d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -31,7 +31,7 @@
</div>
{{ end }}
</div>
- {{ if not .Site.Params.homepage.show_services_button }}
+ {{ if .Site.Params.homepage.show_services_button }}
<div class="row justify-content-center">
<div class="col-auto">
<a class="button button-primary" href="{{ "services/" | relURL }}">View All Services</a>