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
22a38163
Commit
22a38163
authored
Mar 17, 2013
by
Sylvester Keil
Browse files
allow absolute paths for files
#14
parent
8eabd7c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lib/jekyll/scholar/utilities.rb
lib/jekyll/scholar/utilities.rb
+2
-0
No files found.
lib/jekyll/scholar/utilities.rb
View file @
22a38163
...
...
@@ -71,6 +71,8 @@ module Jekyll
name
=
config
[
'bibliography'
]
end
return
name
if
File
.
exists?
(
name
)
p
=
File
.
join
(
config
[
'source'
],
name
)
p
<<
'.bib'
unless
File
.
exists?
(
p
)
p
...
...
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