diff options
author | EuAndreh <eu@euandre.org> | 2020-12-24 21:05:59 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-24 21:05:59 -0300 |
commit | d3cda2bedcf59fd217c3d013f0d6aade5e917007 (patch) | |
tree | 492c50c63c4bf0745f39e72463e2348b634636d2 /_plugins/generate-feeds-for-categories.rb | |
parent | Rename: _plugins/lint-hook.rb -> _plugins/linter.rb (diff) | |
download | euandre.org-d3cda2bedcf59fd217c3d013f0d6aade5e917007.tar.gz euandre.org-d3cda2bedcf59fd217c3d013f0d6aade5e917007.tar.xz |
Don't run linter on generated files
Diffstat (limited to '_plugins/generate-feeds-for-categories.rb')
-rw-r--r-- | _plugins/generate-feeds-for-categories.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_plugins/generate-feeds-for-categories.rb b/_plugins/generate-feeds-for-categories.rb index 9958fba..870f86f 100644 --- a/_plugins/generate-feeds-for-categories.rb +++ b/_plugins/generate-feeds-for-categories.rb @@ -66,7 +66,9 @@ module Jekyll class PageWithoutAFile < Jekyll::Page def read_yaml(*) - @data ||= {} + @data ||= { + "generated" => true + } end end end |