Between Tuesday August 20th, 5:00pm and Thursday August 22nd, 8:00am git.uwaterloo.ca will be down for an upgrade to version 10.8.7.

5a8ecc19 by rmrf

Remove debug code for 'code' printing

1 parent 237d9813
Pipeline #31426 for 5a8ecc19 passed in 44 seconds
......@@ -110,8 +110,7 @@ module Jekyll
# Is there a link for code
if entry.field?(:code)
code_url = "<div class=\"pure-button csl-slides\"><a href=\"" + entry.code.to_s + "\">CODE</a></div>"
puts "Found code: " + entry.code.to_s
code_url = "<div class=\"pure-button csl-code\"><a href=\"" + entry.code.to_s + "\">CODE</a></div>"
reference.insert(reference.rindex('</div>'), code_url.to_s )
end
......
......@@ -92,8 +92,6 @@ module Jekyll
if entry.field?(extra_parse_fields['award'])
# TODO: Awkward -- Find position to insert it. Before the last </div>
puts "FOUND AWARD"
puts entry.award
ts = content_tag "div class=\"csl-award\"", entry.award.to_s
reference_position = reference.rindex('</div>')
if reference_position.nil?
......@@ -133,12 +131,11 @@ module Jekyll
end
# Is there a link for code
if entry.field?(:code)
code_url = "<div class=\"pure-button csl-slides\"><a href=\"" + entry.code.to_s + "\">CODE</a></div>"
puts "Found code: " + entry.code.to_s
reference.insert(reference.rindex('</div>'), code_url.to_s )
end
# Is there a link for code
if entry.field?(:code)
code_url = "<div class=\"pure-button csl-code\"><a href=\"" + entry.code.to_s + "\">CODE</a></div>"
reference.insert(reference.rindex('</div>'), code_url.to_s )
end
end
......