forked from naman2807/NewCartZone.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (27 loc) · 1.03 KB
/
index.html
File metadata and controls
32 lines (27 loc) · 1.03 KB
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
{% extends 'shop/basic.html'%}
{% block title%} home page{% endblock %}
{% block body %}
<div class="container my-4">
<div class="row mb-2">
{% for item in mypost %}
<div class="col-md-6">
<div class="row no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
<div class="col p-4 d-flex flex-column position-static">
<strong class="d-inline-block mb-2 text-primary">{{item.title}}</strong>
<h3 class="mb-0"></h3>
<div class="mb-1 text-muted">Nov 12</div>
<p class="card-text mb-auto">{{item.head}}</p>
<a href="blogpost/{{item.post_id}}" class="stretched-link">Continue reading</a>
</div>
<div class="col-auto d-none d-lg-block">
<img src="/media/{{item.thumbnail}}"><rect width="100%" height="100%" fill="#55595c"></rect>
</div>
</div>
</div>
{% if forloop.counter|divisibleby:2 %}
</div><div class="row mb-2">
{%endif%}
{%endfor%}
</div>
</div>
{%endblock%}