From c455896ae9e69e2498742ff795e7886dee1ffa23 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 5 Feb 2021 09:55:25 +0100
Subject: Move source files into src
---
src/_pages/posts.html | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 src/_pages/posts.html
(limited to 'src/_pages/posts.html')
diff --git a/src/_pages/posts.html b/src/_pages/posts.html
new file mode 100644
index 0000000..4f10758
--- /dev/null
+++ b/src/_pages/posts.html
@@ -0,0 +1,44 @@
+---
+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 %}
+
+ {% endif %}
+
+ {{ this_year }}
+
+ {% endif %}
+
+ {% assign prev_year = post.date | date: "%Y" %}
+{% endfor %}
--
cgit v1.1