Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
caesr-pub
jekyll-scholar
Commits
8cf9e32a
Commit
8cf9e32a
authored
Jul 12, 2012
by
Sylvester Keil
Browse files
fixed problem when missing base-url
parent
5d843715
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/jekyll/scholar/tags/bibliography.rb
View file @
8cf9e32a
...
...
@@ -28,6 +28,9 @@ module Jekyll
end
content_tag
:ol
,
references
.
join
(
"
\n
"
)
rescue
=>
e
debugger
warn
e
.
message
end
end
...
...
lib/jekyll/scholar/utilities.rb
View file @
8cf9e32a
...
...
@@ -58,7 +58,7 @@ module Jekyll
end
def
base_url
@base_url
||=
site
.
config
[
'baseurl'
]
||
site
.
config
[
'base_url'
]
||
nil
@base_url
||=
site
.
config
[
'baseurl'
]
||
site
.
config
[
'base_url'
]
||
''
end
def
details_path
...
...
Write
Preview
Supports
Markdown
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