forked from hugo-toha/toha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.html
21 lines (21 loc) · 720 Bytes
/
post.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="filtr-item" data-category='{{ partial "helpers/get-categories.html" . }}'>
<a href="{{ .RelPermalink }}" class="post-card-link">
<div class="card">
<div class="card-head">
<img class="card-img-top" src='{{ partial "helpers/get-hero.html" . }}'/>
</div>
<div class="card-body">
<h5 class="card-title">{{ .Title }}</h5>
<p class="card-text post-summary">{{ .Summary }}</p>
</div>
<div class="card-footer">
<span class="float-left">{{ .Date.Format "January 2, 2006" }}</span>
<a
href="{{ .RelPermalink }}"
class="float-right btn btn-outline-info btn-sm"
>Read</a
>
</div>
</div>
</a>
</div>