Correct documentation of filters (#7989)

Merge pull request 7989
This commit is contained in:
R.P. Pedraza 2020-02-02 12:31:14 +08:00 committed by GitHub
parent 05cbe06c26
commit 0aa29046a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ Liquid::Template.register_filter(Jekyll::AssetFilter)
<h5>ProTip™: Access the site object using Liquid</h5>
<p>
Jekyll lets you access the <code>site</code> object through the
<code>context.registers</code> feature of Liquid at <code>context.registers[:site]</code>. For example, you can
<code>@context.registers</code> feature of Liquid at <code>@context.registers[:site]</code>. For example, you can
access the global configuration file <code>_config.yml</code> using
<code>context.registers[:site].config</code>.
<code>@context.registers[:site].config</code>.
</p>
</div>