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/image-grid.html | |
| parent | abac30330edd5b7ea718abc230c9d685dfe30c83 (diff) | |
Make product page use content from frontmatter
Diffstat (limited to 'site/layouts/partials/image-grid.html')
| -rw-r--r-- | site/layouts/partials/image-grid.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/site/layouts/partials/image-grid.html b/site/layouts/partials/image-grid.html index 726be38..5ead5f1 100644 --- a/site/layouts/partials/image-grid.html +++ b/site/layouts/partials/image-grid.html @@ -2,15 +2,15 @@ <div class="flex flex-wrap mhn1"> <div class="w-100 w-50-ns ph1-ns"> - <img src="/img/products/products-grid3.jpg" alt="A close-up of a paper filter filled with ground coffee"> + <img src="{{ .image1.image }}" alt="{{ .image1.alt }}"> </div> <div class="w-100 w-50-ns ph1-ns"> - <img src="/img/products/products-grid2.jpg" alt="A green cup of a coffee on a wooden table"> + <img src="{{ .image2.image }}" alt="{{ .image2.alt }}"> </div> <div class="w-100 ph1-ns"> - <img src="/img/products/products-grid1.jpg" alt="Coffee beans"> + <img src="{{ .image3.image }}" alt="{{ .image3.alt }}"> </div> </div> |
