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
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
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.gitignore
.gitignore
+1
-0
lib/jekyll/scholar/utilities.rb
lib/jekyll/scholar/utilities.rb
+1
-1
No files found.
.gitignore
View file @
43b35887
...
...
@@ -4,3 +4,4 @@ demo
.bundle
coverage
.ruby-version
.DS_Store
lib/jekyll/scholar/utilities.rb
View file @
43b35887
...
...
@@ -575,7 +575,7 @@ module Jekyll
end
def
link_target_for
key
"
#{
relative
}
#
#{
[
prefix
,
key
].
compact
.
join
(
'-'
)
}
"
"
#{
base_url
}#{
relative
.
to_s
.
strip
}
#
#{
[
prefix
,
key
].
compact
.
join
(
'-'
)
}
"
end
def
cite
(
keys
)
...
...
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