Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
J
jekyll-scholar-extras
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caesr-pub
jekyll-scholar-extras
Commits
209e313d
Commit
209e313d
authored
Feb 07, 2016
by
Hiren Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upped the version so it works
parent
ec600f52
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 @
209e313d
...
...
@@ -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