Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
caesr-pub
jekyll-scholar-extras
Commits
3ec31f41
Commit
3ec31f41
authored
Jun 11, 2012
by
root
Committed by
Hiren Patel
Jun 11, 2012
Browse files
There are some issues with names for PDFs. Some rewriting is needed
parent
0a0ec5ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/jekyll/scholar/extras/bibliography_hdp.rb
lib/jekyll/scholar/extras/bibliography_hdp.rb
+3
-3
No files found.
lib/jekyll/scholar/extras/bibliography_hdp.rb
View file @
3ec31f41
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment