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
285e616b
Commit
285e616b
authored
Oct 03, 2015
by
Sylvester Keil
Browse files
support dependent styles
see #108
parent
7c1651b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/jekyll/scholar/utilities.rb
lib/jekyll/scholar/utilities.rb
+3
-1
No files found.
lib/jekyll/scholar/utilities.rb
View file @
285e616b
...
...
@@ -5,7 +5,9 @@ module Jekyll
# They should be thread safe as long as they are
# treated as being read-only.
STYLES
=
Hash
.
new
do
|
h
,
k
|
h
[
k
.
to_s
]
=
CSL
::
Style
.
load
k
style
=
CSL
::
Style
.
load
k
style
=
style
.
independent_parent
unless
style
.
independent?
h
[
k
.
to_s
]
=
style
end
...
...
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