diff --git a/data/memberships.yaml b/data/memberships.yaml index 02a8db1..8fe2d3a 100644 --- a/data/memberships.yaml +++ b/data/memberships.yaml @@ -1,12 +1,12 @@ # Membership levels, this is used on the website and also presented as JSON for other services to use. membership_levels: - name: "Member" - price: "24" + price: 24 description: "Our standard membership that allows usage of the hackspace facilities." link: "https://pay.gocardless.com/AL00024VQTCKBK" - name: "Member+" - price: "30" + price: 30 description: "Standard membership with an additional donation." link: "https://pay.gocardless.com/AL00024VQW2FWQ" @@ -16,31 +16,30 @@ membership_levels: link: "https://pay.gocardless.com/AL0002BMN4S3AX" - name: "Family" - price: "40" + price: 40 description: "A discounted family membership for two adults and two children." link: "https://pay.gocardless.com/AL000637J3VZP7" - name: "Day Pass" - price: "5" - period: "per day" + price: 5 + period: "daily" description: "Access to the hackspace's facilities for a day." link: "mailto:info@leighhack.org?subject=Day%20Pass" button: "Enquire" - name: "Patron" - price: "5" + price: 5 description: "Support the hackspace without being a member." link: "https://pay.gocardless.com/AL000FDGN4Q6AC" - name: "Business" - price: " POA" + price: 0 description: "Access to the hackspace for a business or community group." link: "mailto:info@leighhack.org?subject=Corporate%20Membership" button: "Enquire" - name: "Creator Pod" - price: " POA" - period: "per month" + price: 0 description: "An enhanced membership which includes a dedicated space for your personal use." link: "mailto:info@leighhack.org?subject=Artist%20Pod%20Lease" button: "Enquire" diff --git a/layouts/page/membership.html b/layouts/page/membership.html index de47de4..43949b0 100644 --- a/layouts/page/membership.html +++ b/layouts/page/membership.html @@ -7,8 +7,8 @@

{{ .name }}

-
£{{ .price }}
-
{{ default "per month" .period }}
+
£{{ default " POA" .price }}
+
{{ default "monthly" .period }}

{{ .description }}

diff --git a/layouts/page/membership.json b/layouts/page/membership.json index da7fb88..21ee3b5 100644 --- a/layouts/page/membership.json +++ b/layouts/page/membership.json @@ -2,6 +2,6 @@ {"memberships": [ {{- with $.Site.Data.memberships.membership_levels }} {{- range $index, $element := . -}} - { "name": "{{ .name }}", "price": "{{ .price }}", "period": "{{ default "monthly" .period }}", "link": "{{ .link }}"}{{ if ne (add $index 1) $len }},{{ end }} + { "name": "{{ .name }}", "price": "{{ .price }}", "period": "{{ default "monthly" .period }}", "link": "{{ .link }}", "description": "{{ .description}}"}{{ if ne (add $index 1) $len }},{{ end }} {{- end }} {{- end }}]}