From fd65e6ce32e7d376ca0dc9eb523740f377bbf733 Mon Sep 17 00:00:00 2001 From: Anthony Gaudino Date: Sun, 28 Aug 2016 12:48:25 -0300 Subject: [PATCH] Improve sentence to reduce confusion --- site/_docs/plugins.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/site/_docs/plugins.md b/site/_docs/plugins.md index 36757520..91f95bc9 100644 --- a/site/_docs/plugins.md +++ b/site/_docs/plugins.md @@ -499,12 +499,12 @@ end Jekyll provides hooks for :site, :pages, :posts, and :documents. In all cases, Jekyll calls -your hooks with the container object as the first callback parameter. But in the -case of :pre_render and :site, :post_render, your hook -will also receive a payload hash as a second parameter which allows you full -control over the variables that are available while rendering in the former case -and make final changes just before writing your website to disk on the latter -case. +your hooks with the container object as the first callback parameter. However, +all `:pre_render` hooks and the`:site, :post_render` hook will also provide a +payload hash as a second parameter. In the case of `:pre_render`, the payload +gives you full control over the variables that are available while rendering. +In the case of `:site, :post_render`, the payload contains final values after +rendering all the site (useful for sitemaps, feeds, etc). The complete list of available hooks is below: