mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-13 12:12:18 +00:00
Don't show the CTA on the Thank You page
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
---
|
||||
title: "Thank You, and Welcome!"
|
||||
subtitle: "You're now a member."
|
||||
draft: true
|
||||
show_big_cta: false # Show the big Call To Action at the bottom of the page
|
||||
draft: false
|
||||
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.
|
||||
|
||||
@@ -55,10 +55,12 @@
|
||||
<div class="is-clearfix"></div>
|
||||
|
||||
{{ block "cta" . }}
|
||||
{{ if .Params.show_big_cta }}
|
||||
{{ partial "design/bigcta.html" . }}
|
||||
{{ else }}
|
||||
{{ partial "design/cta.html" . }}
|
||||
{{ if (default true .Params.show_cta) }}
|
||||
{{ if .Params.show_big_cta }}
|
||||
{{ partial "design/bigcta.html" . }}
|
||||
{{ else }}
|
||||
{{ partial "design/cta.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user