Skip to content

Commit 8558d79

Browse files
committed
Style post list
1 parent 26e3d38 commit 8558d79

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

css/styles.css

+6
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ p + ul {
5050
margin-top: -0.5em;
5151
}
5252

53+
ul.posts {
54+
margin: 0;
55+
padding: 0;
56+
list-style-type: none;
57+
}
58+
5359
table {
5460
margin-bottom: 2.6em;
5561
font-size: 0.88em;

index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Latest Articles
55

66
# Latest Articles
77

8-
<ul>
8+
<ul class="posts">
99
{% for post in site.posts %}
1010
<li>
1111
<a href="{{ post.url }}">{{ post.title }}</a>

0 commit comments

Comments
 (0)