-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
45 lines (42 loc) · 1.95 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
layout: page0
title: H0m3
color-theme: "#0c0d0e"
description: "Q5Ca's world (just another sec blog <3)"
page-header-image: header1.gif
css-file: "index"
permalink: "/"
---
<div id="post-list-wrapper"style="background-color: #111a25;"class="page-comp">
<div class="container" id="post-list" >
<div class="row justify-content-center justify-content-md-start">
{% for post in site.posts %}
<div class="col-10 col-md-6 col-lg-4 mb-4">
<div class="card post text-white bg-dark border-info">
{% if post.post-thumb %}
{% capture pT %}/assets/images/{{ post.post-thumb }}{% endcapture %}
<img src="{{ pT | relative_url}}" alt="{{ post.title }}" class="card-img-top post-thumb">
{% endif %}
<div class="card-body d-flex flex-column">
<h5 class="card-title">{{post.title}}</h5>
<p>{{post.excerpt}}...
{% for tag in post.tags %}
<a href="#">#{{ tag }} </a>
{% endfor %}
</p>
<small class="font-italic">Categories:
{% for category in post.categories %}
<a href="#">{{ category }}</a>
{% endfor %}
</small>
<div class="mt-auto d-flex justify-content-between">
<small>{{ post.date | date_to_string }}</small>
<a href="{{post.url}}">Đọc tiếp >></a>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>