-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
42 lines (37 loc) · 855 Bytes
/
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
---
layout: posts
title: Blog
---
<head>
<style>
.post-container {
display: flex;
flex-direction: column;
align-items: center;
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.post {
border: 1px solid #ccc;
border-radius: 5px;
padding: 15px;
margin: 10px 0;
width: 100%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.post:hover {
transform: translateY(-3px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<h1>Latest Posts</h1>
<ul>
{% for post in site.posts %}
<li>
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
</li>
{% endfor %}
</ul>