We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e24af2 + 2376abd commit 07c087eCopy full SHA for 07c087e
lib/jekyll/pdf/generator.rb
@@ -6,7 +6,7 @@ class Generator < Jekyll::Generator
6
7
def generate(site)
8
# Loop through pages & documents and build PDFs
9
- [site.pages, site.documents].each do |items|
+ [site.pages.clone, site.documents].each do |items|
10
items.each do |item|
11
site.pages << Document.new(site, site.source, item) if item.data['pdf']
12
end
0 commit comments