diff options
Diffstat (limited to '_includes/posts.html')
| -rw-r--r-- | _includes/posts.html | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/_includes/posts.html b/_includes/posts.html index 4638c9b..48036dc 100644 --- a/_includes/posts.html +++ b/_includes/posts.html @@ -1,10 +1,10 @@  <h2>Posts</h2>  <ul> -    {% for post in site.posts %} +    {%- for post in site.posts -%}      <li> -        <a href="{{ post.url | relative_url | uri_escape }}">{{ post.title | strip | normalize_whitespace | xml_escape }}</a> -        (<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: '%d-%m-%Y' | strip | normalize_whitespace | xml_escape }}</time>) +        <a href="{{- post.url | relative_url | uri_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a> +        (<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: '%d-%m-%Y' | strip | normalize_whitespace | xml_escape -}}</time>)      </li> -    {% endfor %} +    {%- endfor -%}  </ul> | 
