{function name="_renderCdnItem" _cdn=''}
{/function} {function name="_renderRobotsControl"}
robots.txt

{if isset($robots_message)}{$robots_message}{else}[`Contents of this site's robots.txt file.`]{/if}
{/function}

[`Site settings`]

{$wa->csrf()}
[`Domain name`]
http://
[`A valid URL pointing to this Webasyst installation.`]
[`E.g. domain.com if Webasyst is installed into domain.com's root folder, domain.com/wa if Webasyst is installed into /wa/ subfolder on domain.com. Do not put slash at the end of the URL.`]
[`IMPORTANT`]: [`The URL entered must point to the root of this Webasyst framework installation.`]
[`Site name`]

[`Site alias used within site selection menu (at the top left corner), and as the anchor name in frontend's $wa->apps() navigation menu array.`]
{if !empty($domain_alias)}
[`Alias (mirror site) for`]
{$domain_alias}
{else}
[`Security`]
{$wa->apps()} [`menu`]
[`The array defining core website navigation menu`]
{foreach $domain_apps as $row} {/foreach}
{$row.name|escape} {$row.url|escape}
[`When done editing, click “Save” to apply changes.`]
[`Add link`]
{/if}
{if !empty($domain_alias)} {* ROBOTS.TXT *} {_renderRobotsControl} {/if} {if empty($domain_alias)}
[`Background`]
[`Background is for customizing your Site app backend, which is useful when you have multiple websites powered by the single Webasyst installation. Selected background will not be shown in the frontend.`]
[`Custom head JS`]
[`Google Analytics Property ID`]:  
[`E.g. UA-123456-1
If you are using Google Analytics to track your website visits and conversions, instead of embedding Google Analytics JS code manually, enter your Google Analytics Property ID here. A valid Google Analytics code will be automatically embedded into every app and every design theme before the closing </head> tag.`]


[`Additional JS code to be added before the closing </head> tag:`]

</head>
{* FAVICON *}
[`Favicon`]
[`Upload favicon`] (.ICO): {if isset($favicon_message)}
{$favicon_message}{/if}
{* ICON FOR IOS *}
[`Touch icon for iOS`]
{if $touchicon}
{/if} [`Upload iOS touch icon`] (.PNG, [`from 152x152 and up to 1024x1024 px`]): {if isset($touchicon_message)}
{$touchicon_message}{/if}
{* ROBOTS.TXT *} {_renderRobotsControl} {* CDN *}
[`CDN`]
{foreach $cdn_list as $_cdn} {_renderCdnItem _cdn=$_cdn} {foreachelse} {_renderCdnItem} {/foreach}
[`Add`]

[`Enable CDN (Content Delivery Network) support for this site by entering CDN URL prefix.`]

{* ERROR NOTIFICATIONS *}
[`Site structure error notifications`]

[`Show error notifications in site structure settings.`]
{* @event backend_settings.%plugin_id%.section *} {foreach $backend_settings as $_}{ifset($_.section)}{/foreach}
[`Authorization`]
{sprintf('[`Personal → Auth & Sign Up`]', '#/personal/settings/')}
{/if}