From 988a3cd185b9e0268ad220b6f506acf446a35447 Mon Sep 17 00:00:00 2001 From: Mathias Biilmann Christensen Date: Tue, 21 Feb 2017 00:50:28 -0800 Subject: Make product page use content from frontmatter --- site/layouts/partials/table.html | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'site/layouts/partials/table.html') diff --git a/site/layouts/partials/table.html b/site/layouts/partials/table.html index 95f639b..2b521a9 100644 --- a/site/layouts/partials/table.html +++ b/site/layouts/partials/table.html @@ -3,21 +3,12 @@

{{.heading}}

-

{{.text}}

+

{{.description}}

- -
{{ partial "table-column" (dict "plan" "Small" "price" "50" "description" "Perfect for the drinker who likes to enjoy 1-2 cups per day." "item1" "3 lbs of coffee per month" "item2" "Green or roasted beans" "item3" "One or two varieties of beans") }} -
- -
- {{ partial "table-column" (dict "plan" "Big" "price" "80" "description" "Great for avid drinkers, java-nsoving couples and bigger crowds" "item1" "6 lbs of coffee per month" "item2" "Green or roasted beans" "item3" "Up to 4 different varieties of beans") }} -
- -
- {{ partial "table-column" (dict "plan" "Custom" "price" "?" "description" "Want a few tiny batches from different varieties? Try our custom plan" "item1" "Whatever you need" "item2" "Green or roasted beans" "item3" "Unlimited varieties") }} -
- + {{ range .plans }} +
{{ partial "table-column" . }}
+ {{ end }}
-- cgit v1.3