diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 10:45:58 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 10:45:58 +0100 |
commit | 5c086bc52fa3a226bcf706b1f420a5d98ea377dd (patch) | |
tree | da5b28238542247efbe36c49cbc6cfd4e49f3e36 /src/_pages/posts.html | |
parent | 64e0495846f8b680288280920cba6bcb28e4092f (diff) |
Redo most of the blog in Hugo
Missing posts will have to be added later
Diffstat (limited to 'src/_pages/posts.html')
-rw-r--r-- | src/_pages/posts.html | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/_pages/posts.html b/src/_pages/posts.html deleted file mode 100644 index 4f10758..0000000 --- a/src/_pages/posts.html +++ /dev/null @@ -1,44 +0,0 @@ ---- -layout: default -permalink: /posts/ -title: Blog posts -description: > - I occasionally write blogposts about things I find interesting. These are - usually programming, security or privacy related. ---- - -{% markdown %} -## Blog posts -{% endmarkdown %} - -{% include posts-intro.md %} - -{% for post in site.posts %} - {% if post.wip %}{% continue %}{% endif %} - {% assign this_year = post.date | date: "%Y" %} - - {% if this_year != prev_year %} - {% if forloop.first != true %} - </ul> - {% endif %} - - <h3>{{ this_year }}</h3> - <ul> - {% endif %} - - <li> - <a href="{{ post.url }}">{{ post.title }}</a> - <small> - {{ post.date | date: "%Y-%m-%d" }} - {% for tag in post.tags %} - <a href="{{ site.baseurl | prepend: site.url }}/tag/{{ tag | slugify }}">#{{ tag | slugify }}</a> - {% endfor %} - </small> - </li> - - {% if forloop.last %} - </ul> - {% endif %} - - {% assign prev_year = post.date | date: "%Y" %} -{% endfor %} |