Class: JekyllAssetPipeline::CssTagTemplate
- Inherits:
-
Template
- Object
- Template
- JekyllAssetPipeline::CssTagTemplate
show all
- Defined in:
- lib/jekyll_asset_pipeline/templates/css_tag_template.rb
Overview
Default output for CSS assets
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Template
#initialize, klass
#inherited, #subclasses
#output_path, #root_path?
Class Method Details
.filetype ⇒ Object
6
7
8
|
# File 'lib/jekyll_asset_pipeline/templates/css_tag_template.rb', line 6
def self.filetype
'.css'
end
|
.priority ⇒ Object
10
11
12
|
# File 'lib/jekyll_asset_pipeline/templates/css_tag_template.rb', line 10
def self.priority
-1
end
|
Instance Method Details
#html ⇒ Object
14
15
16
17
|
# File 'lib/jekyll_asset_pipeline/templates/css_tag_template.rb', line 14
def html
"<link href='#{output_path}/#{@filename}' " \
"rel='stylesheet' type='text/css' />"
end
|