diff --git a/layouts/shortcodes/faq.html b/layouts/shortcodes/faq.html new file mode 100644 index 0000000..d9790ad --- /dev/null +++ b/layouts/shortcodes/faq.html @@ -0,0 +1,31 @@ +{{ $data := .Inner | transform.Unmarshal }} + + + + {{ $data.title | default "Frequently Asked Questions" }} + {{ with $data.description }} + {{ . }} + {{ end }} + + + + {{ range $data.questions }} + + + {{ .question }} + + + + + + + {{ .answer | markdownify }} + + + + {{ end }} + + + diff --git a/layouts/shortcodes/pricing-table-1.html b/layouts/shortcodes/pricing-table-1.html new file mode 100644 index 0000000..19e2cb4 --- /dev/null +++ b/layouts/shortcodes/pricing-table-1.html @@ -0,0 +1,57 @@ +{{ $json := .Inner | transform.Unmarshal }} + + + {{ with $json.title }} + + {{ . }} + {{ with $json.description }} + {{ . }} + {{ end }} + + {{ end }} + + + + {{ range $json.plans }} + + + {{ if .featured }} + + Popular + + {{ end }} + + + {{ .name }} + {{ .description }} + + + + ${{ .price }} + /month + + + + {{ range .features }} + + + + + {{ . }} + + {{ end }} + + + + {{ .button.text }} + + + + + + {{ end }} + + + + diff --git a/layouts/shortcodes/pricing-table-2.html b/layouts/shortcodes/pricing-table-2.html new file mode 100644 index 0000000..12935f4 --- /dev/null +++ b/layouts/shortcodes/pricing-table-2.html @@ -0,0 +1,53 @@ +{{ $data := .Inner | unmarshal }} + + + {{ with $data.title }} + + {{ . }} + {{ with $data.description }} + {{ . }} + {{ end }} + + {{ end }} + + + {{ range $index, $plan := $data.plans }} + + {{ if $plan.featured }} + + Most Popular + + {{ end }} + + + {{ $plan.name }} + {{ $plan.description }} + + + + + $ + {{ $plan.price }} + /month + + + + + {{ range $plan.features }} + + + + + {{ . }} + + {{ end }} + + + + {{ $plan.button.text }} + + + {{ end }} + + +
{{ . }}
{{ .description }}
+ ${{ .price }} + /month +
{{ $plan.description }}