From 7493f15cdc89d462619286314a844e2f8eebc550 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 24 Jan 2025 22:44:43 +0100 Subject: more minor tweaks --- _config.yml | 2 +- _includes/posts.html | 6 +++--- _layouts/default.html | 11 +++++------ _plugins/filters.rb | 11 +++++++++++ _sass/code.scss | 10 ++++++++-- _sass/media.scss | 5 +++-- _sass/theme.scss | 7 ++++--- index.md | 6 ++++-- 8 files changed, 39 insertions(+), 19 deletions(-) diff --git a/_config.yml b/_config.yml index f2546ec..6d8c836 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,7 @@ exclude: - readme.md collections: items: - permalink: /post/:title/ + permalink: /post/:title output: true defaults: - scope: diff --git a/_includes/posts.html b/_includes/posts.html index 692e6ad..5385d1f 100644 --- a/_includes/posts.html +++ b/_includes/posts.html @@ -1,9 +1,9 @@ - - + + - {% assign posts = site.items | sort: include.sort %} + {% assign posts = site.items | post_sort: include.sort %} {% for post in posts %} diff --git a/_layouts/default.html b/_layouts/default.html index fe0fc36..a0f06cb 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -22,7 +22,7 @@