aboutsummaryrefslogtreecommitdiff
path: root/_plugins/generate-pastebin-plaintext-alternate.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-24 21:05:59 -0300
committerEuAndreh <eu@euandre.org>2020-12-24 21:05:59 -0300
commitd3cda2bedcf59fd217c3d013f0d6aade5e917007 (patch)
tree492c50c63c4bf0745f39e72463e2348b634636d2 /_plugins/generate-pastebin-plaintext-alternate.rb
parentRename: _plugins/lint-hook.rb -> _plugins/linter.rb (diff)
downloadeuandre.org-d3cda2bedcf59fd217c3d013f0d6aade5e917007.tar.gz
euandre.org-d3cda2bedcf59fd217c3d013f0d6aade5e917007.tar.xz
Don't run linter on generated files
Diffstat (limited to '')
-rw-r--r--_plugins/generate-pastebin-plaintext-alternate.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/_plugins/generate-pastebin-plaintext-alternate.rb b/_plugins/generate-pastebin-plaintext-alternate.rb
index 3b5fb9a..635252c 100644
--- a/_plugins/generate-pastebin-plaintext-alternate.rb
+++ b/_plugins/generate-pastebin-plaintext-alternate.rb
@@ -36,7 +36,8 @@ module Jekyll
class PlaintextPageWithoutAFile < Jekyll::Page
def read_yaml(*)
@data ||= {
- "plaintext" => "true"
+ "plaintext" => true,
+ "generated" => true
}
end
end