From 0aa29046a74b8c7626d4558a3e2e4918fc379e0b Mon Sep 17 00:00:00 2001 From: "R.P. Pedraza" Date: Sun, 2 Feb 2020 12:31:14 +0800 Subject: [PATCH] Correct documentation of filters (#7989) Merge pull request 7989 --- docs/_docs/plugins/filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_docs/plugins/filters.md b/docs/_docs/plugins/filters.md index a6237da4..7f9b49d2 100644 --- a/docs/_docs/plugins/filters.md +++ b/docs/_docs/plugins/filters.md @@ -23,8 +23,8 @@ Liquid::Template.register_filter(Jekyll::AssetFilter)
ProTip™: Access the site object using Liquid

Jekyll lets you access the site object through the - context.registers feature of Liquid at context.registers[:site]. 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[:site].config. + @context.registers[:site].config.