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
7e71f25b
Commit
7e71f25b
authored
Feb 07, 2016
by
root
Committed by
Hiren Patel
Feb 07, 2016
Browse files
Upped the version so it works
parent
4170fe81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
lib/jekyll/scholar/extras/bibliography_bytype.rb
lib/jekyll/scholar/extras/bibliography_bytype.rb
+3
-5
No files found.
lib/jekyll/scholar/extras/bibliography_bytype.rb
View file @
7e71f25b
...
...
@@ -86,11 +86,10 @@ module Jekyll
end
items
=
items
[
offset
..
max
]
if
limit_entries?
bibliography
=
render_header
(
@type_labels
[
query
])
bibliography
=
""
bibliography
<<
render_header
(
@type_labels
[
query
])
bibliography
<<
items
.
each_with_index
.
map
{
|
entry
,
index
|
reference
=
render_index
(
entry
,
bibliography_tag
(
entry
,
nil
))
if
generate_details?
reference
<<
link_to
(
details_link_for
(
entry
),
config
[
'details_link'
],
:class
=>
config
[
'details_link_class'
])
...
...
@@ -111,8 +110,7 @@ module Jekyll
content_tag
"li class=
\"
"
+
render_ref_img
(
entry
)
+
"
\"
"
,
reference
}.
join
(
"
\n
"
)
content_tag
config
[
'bibliography_list_tag'
],
bibliography
,
:class
=>
config
[
'bibliography_class'
]
return
content_tag
config
[
'bibliography_list_tag'
],
bibliography
,
:class
=>
config
[
'bibliography_class'
]
end
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