mirror of
https://github.com/cotes2020/chirpy-starter.git
synced 2025-06-08 17:20:19 +10:00
no post date enforcement
This commit is contained in:
parent
b2a35b76d8
commit
6dc4f8cbc7
8
_plugins/nodate.rb
Normal file
8
_plugins/nodate.rb
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user