| Class | Jekyll::Site |
| In: |
lib/jekyll/site.rb
|
| Parent: | Object |
| categories | [RW] | |
| config | [RW] | |
| dest | [RW] | |
| exclude | [RW] | |
| layouts | [RW] | |
| lsi | [RW] | |
| permalink_style | [RW] | |
| posts | [RW] | |
| pygments | [RW] | |
| source | [RW] | |
| tags | [RW] |
Filter out any files/directories that are hidden or backup files (start with "." or "#" or end with "~") or contain site content (start with "_") unless they are "_posts" directories or web server files such as ’.htaccess‘
Paginates the blog‘s posts. Renders the index.html file into paginated directories, ie: page2, page3… and adds more wite-wide data
{"paginator" => { "page" => <Number>,
"per_page" => <Number>,
"posts" => [<Post>],
"total_posts" => <Number>,
"total_pages" => <Number>,
"previous_page" => <Number>,
"next_page" => <Number> }}
The Hash payload containing site-wide data
Returns {"site" => {"time" => <Time>,
"posts" => [<Post>],
"categories" => [<Post>]}
Copy all regular files from <source> to <dest>/ ignoring any files/directories that are hidden or backup files (start with "." or "#" or end with "~") or contain site content (start with "_") unless they are "_posts" directories or web server files such as ’.htaccess‘
The +dir+ String is a relative path used to call this method
recursively as it descends through directories
Returns nothing