File tree Expand file tree Collapse file tree 3 files changed +21
-12
lines changed Expand file tree Collapse file tree 3 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 3
3
---
4
4
< h2 > Posts</ h2 >
5
5
6
- {% for post in site.categories.blog %}
7
- < div class ="post ">
8
- < div class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ div >
9
- < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
10
- </ div >
11
- {% endfor %}
6
+ < ul class ="post-list ">
7
+ {% for post in site.categories.blog %}
8
+ < li class ="post ">
9
+ < div class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ div >
10
+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
11
+ </ li >
12
+ {% endfor %}
13
+ </ ul >
Original file line number Diff line number Diff line change @@ -147,6 +147,11 @@ a.source:hover {
147
147
list-style : none;
148
148
}
149
149
150
+ .post-list {
151
+ margin : 0 ;
152
+ padding : 0 ;
153
+ list-style-type : none;
154
+ }
150
155
151
156
.post {
152
157
margin : 0 0 1.5rem 0 ;
Original file line number Diff line number Diff line change 3
3
---
4
4
< h2 > This Week In rust-analyzer</ h2 >
5
5
6
- {% for post in site.categories.thisweek %}
7
- < div class ="post ">
8
- < div class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ div >
9
- < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
10
- </ div >
11
- {% endfor %}
6
+ < ul class ="post-list ">
7
+ {% for post in site.categories.thisweek %}
8
+ < li class ="post ">
9
+ < div class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ div >
10
+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
11
+ </ li >
12
+ {% endfor %}
13
+ </ ul >
You can’t perform that action at this time.
0 commit comments