Merge pull request #3627 from nhorstmeier/patch-1

Should use <% with %> rather than <% loop %>
This commit is contained in:
Sam Minnée 2014-11-12 13:38:10 +13:00
commit 421152f722

View File

@ -15,9 +15,9 @@ You can access `[api:SiteConfig]` options from any SS template by using the func
// or // or
<% loop $SiteConfig %> <% with $SiteConfig %>
$Title $AnotherField $Title $AnotherField
<% end_loop %> <% end_with %>
Or if you want to access variables in the PHP you can do Or if you want to access variables in the PHP you can do
@ -48,7 +48,7 @@ Create a mysite/code/CustomSiteConfig.php file.
} }
Then activate your extension in your `[config.yml](/topics/configuration)` file. Then activate your extension in your [config.yml](/topics/configuration) file.
:::yml :::yml
SiteConfig: SiteConfig: