{{/* section label: Plans about: Plans or packages side by side, each with a price, what it includes and a button. fields: - { name: heading, type: text, default: Prices } - { name: intro, type: markdown } - name: items type: list label: Plans fields: - { name: name, type: text, required: true } - { name: price, type: text, required: true, help: "$25, Free, From $90." } - { name: period, type: text, help: "a month, a year, per visit." } - { name: description, type: text } - { name: features, type: textarea, help: What it includes, one per line. } - { name: featured, type: bool, label: Mark as the one most people pick } - name: button type: group fields: - { name: text, type: text } - { name: href, type: link, label: Goes to } - { name: from, type: data, label: Plans from, help: A file in data/ that holds the plans. Leave empty to use the plans above. } - { name: note, type: markdown, label: Below the plans } */}} {{ $items := .Data.items }}{{ with .Data.from }}{{ $items = data . }}{{ end }}
{{ with .Data.heading }}

{{ . }}

{{ end }} {{ with .Data.intro }}
{{ markdownify . }}
{{ end }} {{ with .Data.note }}
{{ markdownify . }}
{{ end }}