Method: Jekyll::SourceMapPage#initialize
- Defined in:
- lib/jekyll/source_map_page.rb
#initialize(css_page) ⇒ SourceMapPage
Initialize a new SourceMapPage.
10 11 12 13 14 15 16 17 18 |
# File 'lib/jekyll/source_map_page.rb', line 10 def initialize(css_page) @site = css_page.site @dir = css_page.dir @data = css_page.data @name = css_page.basename + ".css.map" process(@name) Jekyll::Hooks.trigger :pages, :post_init, self end |