Class Jekyll::Page
In: lib/jekyll/page.rb
Parent: Object

Methods

dir   new   permalink   process   render   template   url   write  

Included Modules

Convertible

Attributes

basename  [RW] 
content  [RW] 
data  [RW] 
ext  [RW] 
name  [RW] 
output  [RW] 
site  [RW] 

Public Class methods

Initialize a new Page.

  +site+ is the Site
  +base+ is the String path to the <source>
  +dir+ is the String path between <source> and the file
  +name+ is the String filename of the file

Returns <Page>

Public Instance methods

The generated directory into which the page will be placed upon generation. This is derived from the permalink or, if permalink is absent, set to ’/’

Returns <String>

The full path and filename of the post. Defined in the YAML of the post body (Optional)

Returns <String>

Extract information from the page filename

  +name+ is the String filename of the page file

Returns nothing

Add any necessary layouts to this post

  +layouts+ is a Hash of {"name" => "layout"}
  +site_payload+ is the site payload hash

Returns nothing

The generated relative url of this page e.g. /about.html

Returns <String>

Write the generated page file to the destination directory.

  +dest_prefix+ is the String path to the destination dir
  +dest_suffix+ is a suffix path to the destination dir

Returns nothing

[Validate]