lib/octopress-ink/jekyll/hooks.rb in octopress-ink-1.0.0.alpha.24 vs lib/octopress-ink/jekyll/hooks.rb in octopress-ink-1.0.0.alpha.25
- old
+ new
@@ -6,9 +6,12 @@
# The contentblock tags needs access to the converter to process it while rendering.
config = Octopress::Plugins.config(payload['site'])
payload['plugins'] = config['plugins']
payload['theme'] = config['theme']
payload['converter'] = self.converter
+ self.site.config['octopress'] = {}
+ self.site.config['octopress']['theme'] = config['theme']
+ self.site.config['octopress']['plugins'] = config['plugins']
do_layout_orig(payload, layouts)
end
end
# Create a new page class to allow partials to trigger Jekyll Page Hooks.