diff options
author | Valentin Popov <valentin@popov.link> | 2024-02-14 10:38:24 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-02-14 10:38:24 +0300 |
commit | a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e (patch) | |
tree | d7ce3ba4bb4f30f6d592cf12e33b6a6331d843d2 /_includes/posts.html | |
parent | 2db390219832103ecbece1188c1964a4539e9020 (diff) | |
download | popov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.tar.xz popov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.zip |
Added space management
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> |