Update memberships

This commit is contained in:
2023-11-11 10:42:00 +00:00
parent e5fe560671
commit 7270812261
3 changed files with 11 additions and 12 deletions

View File

@@ -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 }}]}