diff --git a/features/hooks.feature b/features/hooks.feature index b561c00c..5252d562 100644 --- a/features/hooks.feature +++ b/features/hooks.feature @@ -89,7 +89,7 @@ Feature: Hooks And I have a "_plugins/ext.rb" file with content: """ Jekyll::Hooks.register :pages, :pre_render do |page, payload| - payload.page['myparam'] = 'special' if page.name == 'page1.html' + payload['page']['myparam'] = 'special' if page.name == 'page1.html' end """ And I have a "page1.html" page that contains "{{ page.myparam }}"