Commit 2a528830 authored by rmrf's avatar rmrf

There are some issues with names for PDFs. Some rewriting is needed

parent f095ee73
...@@ -40,17 +40,17 @@ module Jekyll ...@@ -40,17 +40,17 @@ module Jekyll
reference << "." reference << "."
end end
if entry.field?(:slides) or entry.field?(:slides) if entry.field?(:pdflink1) or entry.field?(:slides)
reference << "<b> Downloads: </b>" reference << "<b> Downloads: </b>"
end end
if entry.field?(:pdflink1) if entry.field?(:pdflink1)
reference << "<a href=\"" + entry[:pdflink1].to_s + "\">PDF</a>" reference << "<a href=\"" + entry[:pdflink1].to_s + "\">PDF</a>"
end end
if entry.field?(:slides) if entry.field?(:slides)
reference << "<a href=\"" + entry[:slides].to_s + "\">Slides</a>" reference << "<a href=\"" + entry[:slides].to_s + "\">Slides</a>"
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment