Module: Jekyll::DataPageLinkGenerator

Defined in:
jekyll/_plugins/data_page_generator.rb

Instance Method Summary collapse

Instance Method Details

#datapage_url(input, dir) ⇒ Object

use it like this: | datapage_url: dir} output: dir / input .html



134
135
136
# File 'jekyll/_plugins/data_page_generator.rb', line 134

def datapage_url(input, dir)
  dir + "/" + sanitize_filename(input) + ".html"
end