Class | Jekyll::Post |
In: |
lib/jekyll/post.rb
|
Parent: | Object |
MATCHER | = | /^(.+\/)*(\d+-\d+-\d+)-(.*)(\.[^.]+)$/ |
categories | [RW] | |
content | [RW] | |
data | [RW] | |
date | [RW] | |
ext | [RW] | |
lsi | [RW] | |
output | [RW] | |
published | [RW] | |
site | [RW] | |
slug | [RW] | |
tags | [RW] |
Obtain destination path.
+dest+ is the String path to the destination dir
Returns destination file path.
The full path and filename of the post. Defined in the YAML of the post body (Optional)
Returns <String>
Extract information from the post filename
+name+ is the String filename of the post 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 post e.g. /2008/11/05/my-awesome-post.html
Returns <String>
Write the generated post file to the destination directory.
+dest+ is the String path to the destination dir
Returns nothing