Don't show the CTA on the Thank You page

This commit is contained in:
2023-11-09 13:53:33 +00:00
parent e658cd91c0
commit b6d7c4bb94
2 changed files with 8 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
--- ---
title: "Thank You, and Welcome!" title: "Thank You, and Welcome!"
subtitle: "You're now a member." subtitle: "You're now a member."
draft: true draft: false
show_big_cta: false # Show the big Call To Action at the bottom of the page show_cta: false
--- ---
**Thank you** for joining us! You now have access to Leigh Hackspace and its facilities. You're probably wondering what to do next? Hopefully we can guide you on your next steps. **Thank you** for joining us! You now have access to Leigh Hackspace and its facilities. You're probably wondering what to do next? Hopefully we can guide you on your next steps.

View File

@@ -55,10 +55,12 @@
<div class="is-clearfix"></div> <div class="is-clearfix"></div>
{{ block "cta" . }} {{ block "cta" . }}
{{ if .Params.show_big_cta }} {{ if (default true .Params.show_cta) }}
{{ partial "design/bigcta.html" . }} {{ if .Params.show_big_cta }}
{{ else }} {{ partial "design/bigcta.html" . }}
{{ partial "design/cta.html" . }} {{ else }}
{{ partial "design/cta.html" . }}
{{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}