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.
-
#reset(site) ⇒ Object
Called at the beginning of every build Returns nothing.
Instance Method Details
#merge_payload(payload, site) ⇒ Object
Merges hash into site_payload Returns hash to be merged
36 37 38 |
# File 'lib/octopress-hooks.rb', line 36 def merge_payload(payload, site) payload end |
#post_read(site) ⇒ Object
Called right after Jekyll reads in all items, but before generators Returns nothing
24 25 |
# File 'lib/octopress-hooks.rb', line 24 def post_read(site) end |
#post_write(site) ⇒ Object
Called after Jekyll writes site files Returns nothing
43 44 |
# File 'lib/octopress-hooks.rb', line 43 def post_write(site) end |
#pre_read(site) ⇒ Object
Called before after Jekyll reads in items Returns nothing
18 19 |
# File 'lib/octopress-hooks.rb', line 18 def pre_read(site) end |
#pre_render(site) ⇒ Object
Called before Jekyll renders posts and pages Returns nothing
30 31 |
# File 'lib/octopress-hooks.rb', line 30 def pre_render(site) end |
#reset(site) ⇒ Object
Called at the beginning of every build Returns nothing
12 13 |
# File 'lib/octopress-hooks.rb', line 12 def reset(site) end |