mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
9 lines
184 B
Ruby
9 lines
184 B
Ruby
Jekyll::Hooks.register :site, :post_read do |site|
|
|
if Jekyll.env == 'production'
|
|
site.pages.delete_if do |page|
|
|
if page.data['tmp']
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end |