aboutsummaryrefslogtreecommitdiff
path: root/_pages/blog.html
diff options
context:
space:
mode:
Diffstat (limited to '_pages/blog.html')
-rw-r--r--_pages/blog.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/_pages/blog.html b/_pages/blog.html
index 847129e..a1c6cb5 100644
--- a/_pages/blog.html
+++ b/_pages/blog.html
@@ -9,12 +9,12 @@ permalink: /blog.html
<section>
<ul>
- {% for post in site.posts %}
+ {%- for post in site.posts -%}
<li>
- <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape }}</time>
+ <time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time>
<span>&mdash;</span>
- <a href="{{ post.url | relative_url | uri_escape }}">{{ post.title | strip | normalize_whitespace | xml_escape }}</a>
+ <a href="{{- post.url | relative_url | uri_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
</li>
- {% endfor %}
+ {%- endfor -%}
</ul>
</section> \ No newline at end of file