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
Commits
b6c95af5
Commit
b6c95af5
authored
Jan 21, 2014
by
Sylvester Keil
Browse files
do not add abstract to bibtex
parent
b93b69b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lib/jekyll/scholar/utilities.rb
lib/jekyll/scholar/utilities.rb
+7
-1
No files found.
lib/jekyll/scholar/utilities.rb
View file @
b6c95af5
...
...
@@ -173,7 +173,13 @@ module Jekyll
e
[
'key'
]
=
entry
.
key
e
[
'type'
]
=
entry
.
type
e
[
'bibtex'
]
=
entry
.
to_s
if
entry
.
field?
(
:abstract
)
tmp
=
entry
.
dup
tmp
.
delete
:abstract
e
[
'bibtex'
]
=
tmp
.
to_s
else
e
[
'bibtex'
]
=
entry
.
to_s
end
entry
.
fields
.
each
do
|
key
,
value
|
value
=
value
.
convert
(
*
bibtex_filters
)
unless
bibtex_filters
.
empty?
...
...
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