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
0eedd740
Commit
0eedd740
authored
May 27, 2012
by
root
Committed by
Hiren Patel
May 27, 2012
Browse files
need to produce *and* conditions in selecting publications
parent
f1a55d0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/jekyll/scholar/extras/bibliography_bytype.rb
lib/jekyll/scholar/extras/bibliography_bytype.rb
+2
-1
No files found.
lib/jekyll/scholar/extras/bibliography_bytype.rb
View file @
0eedd740
...
...
@@ -9,13 +9,14 @@ module Jekyll
super
@config
=
Scholar
.
defaults
.
dup
@bibtex_
fil
e
=
arguments
.
strip
@bibtex_
typ
e
=
arguments
.
strip
end
def
render
(
context
)
set_context_to
context
year_section
=
''
puts
bibtex_type
.
to_s
opts
=
[
'@article'
,
'@*[public!=no]'
]
#references = public_journal_entries.map do |entry|
references
=
get_entries
(
opts
).
map
do
|
entry
|
...
...
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