forked from vietanhdev/beNice17
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
43 lines (37 loc) · 1.25 KB
/
blog.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
---
layout: page
meta-title: "Blog of Viet Anh Nguyen"
meta-description: "Talk about software development and new technologies. - Blog về lập trình và công nghệ "
title: "My Blog"
subtitle: Talk about software development and new technologies.
permalink: /blog/
---
<a href="#categories">View Blog Categories</a><br>
<h2>Lastest posts</h2>
{% for post in site.posts limit:5 %}
<p>>> <span style="font-size: 18px; font-weight: bold;"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></span></p>
{% endfor %}
<h2 id="categories" style="text-align: center; font-size: 48px;">Categories</h2>
<div class="tags-expo">
<div class="tags-expo-list">
{% for tag in site.categories %}
<a href="#{{ tag[0] | slugify }}" class="post-tag">{{ tag[0] }}</a>
{% endfor %}
</div>
<hr/>
<div class="tags-expo-section">
{% for tag in site.categories %}
<h3 id="{{ tag[0] | slugify }}">{{ tag[0] }}</h3>
<ul class="tags-expo-posts">
{% for post in tag[1] %}
<a class="post-title" href="{{ site.baseurl }}{{ post.url }}">
<li>
{{ post.title }} <br/>
<small class="post-date">{{ post.date | date_to_string }}</small>
</li>
</a>
{% endfor %}
</ul>
{% endfor %}
</div>
</div>