diff --git a/layouts/shortcodes/posts-2025.html b/layouts/shortcodes/posts-2025.html new file mode 100644 index 0000000..d38cde8 --- /dev/null +++ b/layouts/shortcodes/posts-2025.html @@ -0,0 +1,16 @@ +{{/* Get all posts from the posts section */}} +{{ $postsSection := site.GetPage "section" "posts" }} +{{ $currentYearPosts := where $postsSection.Pages "Date.Year" 2025 }} + +{{/* Display the filtered posts */}} + \ No newline at end of file