From d3aec4ac3bc12b886107b41d21494f3c591bdc3d Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 1 Mar 2025 03:22:30 +1000 Subject: [PATCH] add bye post --- content/blog/bye.md | 28 ++++++++++++++++++++++++++++ templates/custom/blog.html | 6 ++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 content/blog/bye.md diff --git a/content/blog/bye.md b/content/blog/bye.md new file mode 100644 index 0000000..904db98 --- /dev/null +++ b/content/blog/bye.md @@ -0,0 +1,28 @@ ++++ +template = 'custom/blog-post.html' + +title = 'fuck every single one of you' +date = '2025-03-01' +slug = 'bye' +year = 2025 +month = 3 +day = 1 +lang = 'en' + +[extra] +author = 'b1ek ' ++++ + +im done + +``` +-----BEGIN PGP MESSAGE----- + +jA0ECQMIbWKCyQbSgw3/0sATAbRFqZARG4vvKgN2pa5WSWC9coDo7/gA6hgOel8/ +9kEe4bYM9+KuPGYBw5R5GPrz3e0zWvw/7re7Qnlh0e+e2HyKo5z/nt6oUd+KK72P +d+n3/k+rKKkZdA2Lag6Gt3R11e140ONN7IjfXydin6LquOWtIAEaLbDFZdIrVrll +g+ALvXuYHprz33hZgNVf3rJ9pJqno33961rhCNmk3D4glZEoIFDnHpJ4DMeRck0s +O6qYuDG5Kd157TARRTySjhW7DA8pmBc5ASbI/z9cNU/9rSPmbQ== +=+2pj +-----END PGP MESSAGE----- +``` diff --git a/templates/custom/blog.html b/templates/custom/blog.html index d54ec79..bb290a3 100644 --- a/templates/custom/blog.html +++ b/templates/custom/blog.html @@ -11,14 +11,16 @@ {{ section.content | safe }} -{% for year, posts in section.pages | group_by(attribute="year") %} +{% for year, posts in section.pages | sort(attribute="year") | reverse() | group_by(attribute="year") %}

Posts for {{ year }}