diff options
-rw-r--r-- | _plugins/generate-pastebin-plaintext-alternate.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_plugins/generate-pastebin-plaintext-alternate.rb b/_plugins/generate-pastebin-plaintext-alternate.rb index 5ab059d..93cc74e 100644 --- a/_plugins/generate-pastebin-plaintext-alternate.rb +++ b/_plugins/generate-pastebin-plaintext-alternate.rb @@ -7,9 +7,9 @@ module Jekyll def generate(site) site.collections.each do |collection| - _collection_name, collection_documents = collection - collection_documents.docs.each do |document| - if document.type != :slides + collection_name, collection_documents = collection + if collection_name != "slides" + collection_documents.docs.each do |document| n = 1 Renderer .new(site, document) # create a renderer for the document |