Commit 9711f578 authored by Hiren Patel's avatar Hiren Patel

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

parent ab0c9104
......@@ -40,17 +40,17 @@ module Jekyll
reference << "."
end
if entry.field?(:slides) or entry.field?(:slides)
if entry.field?(:pdflink1) or entry.field?(:slides)
reference << "<b> Downloads: </b>"
end
if entry.field?(:pdflink1)
reference << "<a href=\"" + entry[:pdflink1].to_s + "\">PDF</a>"
reference << "<a href=\"" + entry[:pdflink1].to_s + "\">PDF</a>"
end
if entry.field?(:slides)
reference << "<a href=\"" + entry[:slides].to_s + "\">Slides</a>"
reference << "<a href=\"" + entry[:slides].to_s + "\">Slides</a>"
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