From 6dc4f8cbc7e4ae6f7d08381005cca0393539b725 Mon Sep 17 00:00:00 2001 From: Sneupi Date: Tue, 29 Apr 2025 13:48:34 -0700 Subject: [PATCH] no post date enforcement --- _plugins/nodate.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 _plugins/nodate.rb diff --git a/_plugins/nodate.rb b/_plugins/nodate.rb new file mode 100644 index 0000000..1a91301 --- /dev/null +++ b/_plugins/nodate.rb @@ -0,0 +1,8 @@ +class Jekyll::PostReader + def read_posts(dir) + read_publishable(dir, "_posts", /.*\.(markdown|md)$/) + end + def read_drafts(dir) + read_publishable(dir, "_drafts", /.*\.(markdown|md)$/) + end + end \ No newline at end of file