Class: Octopress::Hooks::Site
- Inherits:
-
Jekyll::Plugin
- Object
- Jekyll::Plugin
- Octopress::Hooks::Site
- Defined in:
- lib/octopress-hooks.rb
Instance Method Summary collapse
-
#merge_payload(payload, site) ⇒ Object
Merges hash into site_payload Returns hash to be merged.
-
#post_read(site) ⇒ Object
Called right after Jekyll reads in all items, but before generators Returns nothing.
-
#post_write(site) ⇒ Object
Called after Jekyll writes site files Returns nothing.
-
#pre_read(site) ⇒ Object
Called before after Jekyll reads in items Returns nothing.
-
#pre_render(site) ⇒ Object
Called before Jekyll renders posts and pages Returns nothing.
Instance Method Details
#merge_payload(payload, site) ⇒ Object
Merges hash into site_payload Returns hash to be merged
30 31 32 |
# File 'lib/octopress-hooks.rb', line 30 def merge_payload(payload, site) payload end |
#post_read(site) ⇒ Object
Called right after Jekyll reads in all items, but before generators Returns nothing
18 19 |
# File 'lib/octopress-hooks.rb', line 18 def post_read(site) end |
#post_write(site) ⇒ Object
Called after Jekyll writes site files Returns nothing
37 38 |
# File 'lib/octopress-hooks.rb', line 37 def post_write(site) end |
#pre_read(site) ⇒ Object
Called before after Jekyll reads in items Returns nothing
12 13 |
# File 'lib/octopress-hooks.rb', line 12 def pre_read(site) end |
#pre_render(site) ⇒ Object
Called before Jekyll renders posts and pages Returns nothing
24 25 |
# File 'lib/octopress-hooks.rb', line 24 def pre_render(site) end |