Module Jekyll::Convertible
In: lib/jekyll/convertible.rb

Methods

Public Instance methods

Determine which converter to use based on this convertible‘s extension.

Returns the Converter instance.

Add any necessary layouts to this convertible document.

payload - The site payload Hash. layouts - A Hash of {"name" => "layout"}.

Returns nothing.

Determine the extension depending on content_type.

Returns the String extension for the output file.

  e.g. ".html" for an HTML output file.

Read the YAML frontmatter.

base - The String path to the dir containing the file. name - The String filename of the file.

Returns nothing.

Returns the contents as a String.

Transform the contents based on the content type.

Returns nothing.

[Validate]