-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathproducts.html
41 lines (34 loc) · 1.05 KB
/
products.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
title: Jekyll Cart Products
description: Products displayed in a 3x grid.
sidebar_option: no-sidebar
featured_image_path:
facebook_image_path:
layout: default
---
<div class="site-inner">
<div class="wrap">
<div class="content-sidebar-wrap">
<main class="content grid">
{% for product in site.products %}
<section class="entry one-third styles" itemscope itemtype="http://schema.org/Product">
<div class="style">
<a href="{{ product.url }}">
<img src="{{ product.featured_image_path }}" itemprop="image">
</a>
</div>
<div class="product-details">
<div class="product-name">
<h4><a href="{{ product.url }}">{{ product.title }}</a></h4>
</div>
<div class="product-price">
<p>${{ product.price }}</p>
</div>
</div>
</section>
{% endfor %}
</main>
{% if page.sidebar_option == 'sidebar' %}{% include sidebar.html %}{% endif %}
</div>
</div>
</div>