Class Jekyll::Site
In: lib/jekyll/site.rb
Parent: Object

Methods

Attributes

categories  [RW] 
config  [RW] 
converters  [RW] 
dest  [RW] 
exclude  [RW] 
future  [RW] 
generators  [RW] 
layouts  [RW] 
lsi  [RW] 
pages  [RW] 
permalink_style  [RW] 
plugins  [RW] 
posts  [RW] 
pygments  [RW] 
safe  [RW] 
source  [RW] 
static_files  [RW] 
tags  [RW] 
time  [RW] 

Public Class methods

Initialize the site

  +config+ is a Hash containing site configurations details

Returns <Site>

Public Instance methods

Filter out any files/directories that are hidden or backup files (start with "." or "#" or end with "~"), or contain site content (start with "_"), or are excluded in the site configuration, unless they are web server files such as ’.htaccess‘

Constructs a hash map of Posts indexed by the specified Post attribute

Returns {post_attr => [<Post>]}

Do the actual work of processing the site and generating the real deal. 5 phases; reset, read, generate, render, write. This allows rendering to have full site payload available.

Returns nothing

Reads the directories and finds posts, pages and static files that will become part of the valid site according to the rules in filter_entries.

  The +dir+ String is a relative path used to call this method
           recursively as it descends through directories

Returns nothing

Read all the files in <source>/<dir>/_layouts and create a new Layout object with each one.

Returns nothing

Read all the files in <source>/<dir>/_posts and create a new Post object with each one.

Returns nothing

The Hash payload containing site-wide data

Returns {"site" => {"time" => <Time>,

                    "posts" => [<Post>],
                    "pages" => [<Page>],
                    "categories" => [<Post>]}

Write static files, pages and posts

Returns nothing

[Validate]