mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-13 12:12:18 +00:00
Allow switching between big and small CTAs
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
subtitle: ""
|
subtitle: ""
|
||||||
date: {{ .Date }}
|
|
||||||
draft: true
|
draft: true
|
||||||
|
show_big_cta: false # Show the big Call To Action at the bottom of the page
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: About Leigh Hackspace
|
title: About Leigh Hackspace
|
||||||
subtitle: An accessible, social workspace, where you can meet people, learn new skills, and build awesome things!
|
subtitle: An accessible, social workspace, where you can meet people, learn new skills, and build awesome things!
|
||||||
|
show_big_cta: true
|
||||||
---
|
---
|
||||||
### What is Leigh Hackspace?
|
### What is Leigh Hackspace?
|
||||||
|
|
||||||
|
|||||||
@@ -41,8 +41,12 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{ block "cta" . }}
|
{{ block "cta" . }}
|
||||||
|
{{ if .Params.show_big_cta }}
|
||||||
|
{{ partial "design/bigcta.html" . }}
|
||||||
|
{{ else }}
|
||||||
{{ partial "design/cta.html" . }}
|
{{ partial "design/cta.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "footer.html" .}}
|
{{ partial "footer.html" .}}
|
||||||
{{ partial "foot.html" .}}
|
{{ partial "foot.html" .}}
|
||||||
|
|||||||
Reference in New Issue
Block a user