diff options
Diffstat (limited to '_plugins/generate-pastebin-plaintext-alternate.rb')
-rw-r--r-- | _plugins/generate-pastebin-plaintext-alternate.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_plugins/generate-pastebin-plaintext-alternate.rb b/_plugins/generate-pastebin-plaintext-alternate.rb index bf97f44..d85cacf 100644 --- a/_plugins/generate-pastebin-plaintext-alternate.rb +++ b/_plugins/generate-pastebin-plaintext-alternate.rb @@ -33,7 +33,9 @@ module Jekyll # https://github.com/jekyll/jekyll-feed/blob/c552b8ef7bd7a4babcfb5aec2b22283a5bc354dd/lib/jekyll-feed/page-without-a-file.rb#L4 class PageWithoutAFile < Jekyll::Page def read_yaml(*) - @data ||= {} + @data ||= { + "plaintext" => "true" + } end end end |