aboutsummaryrefslogtreecommitdiff
path: root/_plugins/generate-pastebin-plaintext-alternate.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-29 12:57:53 -0300
committerEuAndreh <eu@euandre.org>2021-01-29 12:57:53 -0300
commit7058bc3cebd50debf29b641250e656259a092ef0 (patch)
treed5a9298e5744d8d00519b500cb553dfa2e7b404f /_plugins/generate-pastebin-plaintext-alternate.rb
parentmv build-aux/ -> aux/ and scripts/ (diff)
downloadeuandre.org-7058bc3cebd50debf29b641250e656259a092ef0.tar.gz
euandre.org-7058bc3cebd50debf29b641250e656259a092ef0.tar.xz
generate-pastebin-plaintext-alternate.rb: Use 0 index
Diffstat (limited to '_plugins/generate-pastebin-plaintext-alternate.rb')
-rw-r--r--_plugins/generate-pastebin-plaintext-alternate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/generate-pastebin-plaintext-alternate.rb b/_plugins/generate-pastebin-plaintext-alternate.rb
index ee9b594..e4e798e 100644
--- a/_plugins/generate-pastebin-plaintext-alternate.rb
+++ b/_plugins/generate-pastebin-plaintext-alternate.rb
@@ -10,7 +10,7 @@ module Jekyll
collection_name, collection_documents = collection
if collection_name != "slides"
collection_documents.docs.each do |document|
- n = 1
+ n = 0
Renderer
.new(site, document) # create a renderer for the document
.run # generate the HTML string