mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Do not render any asset files with Liquid.
This commit is contained in:
@@ -45,12 +45,12 @@ module Jekyll
|
||||
%w[.yaml .yml].include?(extname)
|
||||
end
|
||||
|
||||
def sass_file?
|
||||
%w[.sass .scss].include?(extname)
|
||||
def asset_file?
|
||||
%w[.sass .scss .coffee].include?(extname)
|
||||
end
|
||||
|
||||
def render_with_liquid?
|
||||
!(sass_file? || yaml_file?)
|
||||
!(asset_file? || yaml_file?)
|
||||
end
|
||||
|
||||
def url_template
|
||||
|
||||
Reference in New Issue
Block a user