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
43b35887
Commit
43b35887
authored
Jan 26, 2016
by
Sylvester Keil
Browse files
Merge pull request #124 from elotroalex/master
added base_url and stripped trailing whitespaces from -r value
parents
a5124250
a09dbbb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
43b35887
...
@@ -4,3 +4,4 @@ demo
...
@@ -4,3 +4,4 @@ demo
.bundle
.bundle
coverage
coverage
.ruby-version
.ruby-version
.DS_Store
lib/jekyll/scholar/utilities.rb
View file @
43b35887
...
@@ -575,7 +575,7 @@ module Jekyll
...
@@ -575,7 +575,7 @@ module Jekyll
end
end
def
link_target_for
key
def
link_target_for
key
"
#{
relative
}
#
#{
[
prefix
,
key
].
compact
.
join
(
'-'
)
}
"
"
#{
base_url
}#{
relative
.
to_s
.
strip
}
#
#{
[
prefix
,
key
].
compact
.
join
(
'-'
)
}
"
end
end
def
cite
(
keys
)
def
cite
(
keys
)
...
...
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