diff options
Diffstat (limited to '_pages/blog.html')
-rw-r--r-- | _pages/blog.html | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/_pages/blog.html b/_pages/blog.html index 2500a66..7d1cefd 100644 --- a/_pages/blog.html +++ b/_pages/blog.html @@ -3,18 +3,14 @@ layout: page permalink: /blog/index.html --- -<section> - <h1>Latest posts</h1> -</section> +<h1>Latest posts</h1> -<section> - <ul> - {%- for post in site.posts -%} - <li> - <time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time> - <span>—</span> - <a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a> - </li> - {%- endfor -%} - </ul> -</section>
\ No newline at end of file +<ul> + {%- for post in site.posts -%} + <li> + <time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time> + <span>—</span> + <a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a> + </li> + {%- endfor -%} +</ul>
\ No newline at end of file |