diff --git a/site/docs/plugins.md b/site/docs/plugins.md index eb6392f4..9c449187 100644 --- a/site/docs/plugins.md +++ b/site/docs/plugins.md @@ -339,9 +339,9 @@ Liquid::Template.register_filter(Jekyll::AssetFilter)
Jekyll lets you access the site
object through the
- context.registers
feature of Liquid. For example, you can
+ context.registers
feature of Liquid at context.registers[:site]. For example, you can
access the global configuration file
_config.yml
using
- context.registers.config
.
+ context.registers[:site].config
.