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
<% loop $SiteConfig %>
<% with $SiteConfig %>
$Title $AnotherField
<% end_loop %>
<% end_with %>
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
SiteConfig:
@ -65,4 +65,4 @@ You can define as many extensions for `[api:SiteConfig]` as you need. For exampl
your own global settings for the dashboard.
## API Documentation
`[api:SiteConfig]`
`[api:SiteConfig]`