Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
caesr-pub
jekyll-scholar
Commits
c65dc3fa
Commit
c65dc3fa
authored
Jan 24, 2016
by
Alex Gil
Browse files
added base_url and stripped trailing whitespaces from -r value
parent
d4aeac70
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/jekyll/scholar/utilities.rb
View file @
c65dc3fa
...
...
@@ -575,7 +575,7 @@ module Jekyll
end
def
link_target_for
key
"
#{
relative
}
#
#{
[
prefix
,
key
].
compact
.
join
(
'-'
)
}
"
"
#{
base_url
}#{
relative
.
strip
}
#
#{
[
prefix
,
key
].
compact
.
join
(
'-'
)
}
"
end
def
cite
(
keys
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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