-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
31 lines (27 loc) · 1.21 KB
/
index.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
---
layout: default
---
{% for product in site.products %}
<main class="post-outer ">
<section class="post" itemscope itemtype="http://schema.org/Product">
<div class="img-thumbnail">
<a href="{{ product.url }}">
<img class="lazyload item_thumb" src="{{ product.featured_image_path }}" itemprop="image">
</a>
</div>
<div class="produk-info-container">
<h2 class="post-title judul-produk entry-title" itemprop="name">
<a href="{{ product.url }}" itemprop="url">{{ product.title }}</a>
</h2><div class="detail-produk" itemprop="offers" itemscope="" itemtype="https://schema.org/Offer">
<div content="IDR" itemprop="priceCurrency"></div>
<div class="item_price" content="{{product.price}}" itemprop="price">{{product.price}}</div>
</div><div class="rating-produk" itemprop="aggregateRating" itemscope="" itemtype="https://schema.org/AggregateRating">
<span class="skor" itemprop="ratingValue">
<i class="fa fa-{{product.stars}}"></i> {{product.rating}}
</span>
<span class="rating" itemprop="reviewCount">{{product.review}}</span>
</div>
</div>
</section>
</main>
{% endfor %}