diff options
| author | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-02-21 00:50:28 -0800 |
|---|---|---|
| committer | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-02-21 00:50:28 -0800 |
| commit | 988a3cd185b9e0268ad220b6f506acf446a35447 (patch) | |
| tree | da28425a8584653d0f0bae1556f9f64433dcb203 /site/layouts/partials/table.html | |
| parent | abac30330edd5b7ea718abc230c9d685dfe30c83 (diff) | |
Make product page use content from frontmatter
Diffstat (limited to 'site/layouts/partials/table.html')
| -rw-r--r-- | site/layouts/partials/table.html | 17 |
1 files changed, 4 insertions, 13 deletions
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 @@ <div class="mw7 center"> <h2 class="f2 b lh-title mb3">{{.heading}}</h1> - <p class="mw6">{{.text}}</p> + <p class="mw6">{{.description}}</p> <div class="flex-ns mhn2-ns mw7"> - - <div class="w-33-ns ph2">{{ 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") }} - </div> - - <div class="w-33-ns ph2"> - {{ 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") }} - </div> - - <div class="w-33-ns ph2"> - {{ 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") }} - </div> - + {{ range .plans }} + <div class="w-33-ns ph2">{{ partial "table-column" . }}</div> + {{ end }} </div> </div> |
