mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Merge pull request #1864 from pootsbook/patch-1
This commit is contained in:
@@ -339,9 +339,9 @@ 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. For example, you can
|
||||
<code>context.registers</code> feature of Liquid at <code>context.registers[:site]. For example, you can
|
||||
access the global configuration file <code>_config.yml</code> using
|
||||
<code>context.registers.config</code>.
|
||||
<code>context.registers[:site].config</code>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user