Do not render any asset files with Liquid.
This commit is contained in:
parent
5ae1c34857
commit
a307aff858
|
@ -45,12 +45,12 @@ module Jekyll
|
||||||
%w[.yaml .yml].include?(extname)
|
%w[.yaml .yml].include?(extname)
|
||||||
end
|
end
|
||||||
|
|
||||||
def sass_file?
|
def asset_file?
|
||||||
%w[.sass .scss].include?(extname)
|
%w[.sass .scss .coffee].include?(extname)
|
||||||
end
|
end
|
||||||
|
|
||||||
def render_with_liquid?
|
def render_with_liquid?
|
||||||
!(sass_file? || yaml_file?)
|
!(asset_file? || yaml_file?)
|
||||||
end
|
end
|
||||||
|
|
||||||
def url_template
|
def url_template
|
||||||
|
|
Loading…
Reference in New Issue