{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 in the root folder of domain.com, or domain.com/wa if Webasyst is installed in the /wa/ subfolder of domain.com. Do not add 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 displayed in the site selection menu (in the top left corner) and used as the anchor name in the $wa->apps() navigation menu array in the frontend.`]
{if !empty($domain_alias)}
[`Alias (mirror site) for`]
{$domain_alias}
{else}
[`Security`]
{$wa->apps()} [`menu`]
[`Array defining the core website navigation menu`]
{foreach $domain_apps as $row} {/foreach}
{$row.name|escape} {$row.url|escape}
[`When you have finished editing, click “Save” to apply changes.`]
[`Add link`]
{/if}
{if !empty($domain_alias)} {* ROBOTS.TXT *} {_renderRobotsControl} {/if} {if empty($domain_alias)}
[`Background`]
[`Background can be changed to customize your Site app backend, which is useful when you have several websites powered by one Webasyst installation. The selected background will not be displayed in the frontend.`]
[`Custom JavaScript code within <head>`]
[`Google Analytics Property ID`]:  
{if !empty($google_analytics.universal)} {$code_hint = 'UA-123456-1'} {else} {$code_hint = 'G-FJBLKODBA0'} {/if} {sprintf('[`E.g., %s
If you are using Google Analytics to track website visits and conversions, then, instead of embedding Google Analytics JS code manually, you can simply enter your Google Analytics Property ID here. A valid Google Analytics code will be automatically embedded in all apps and design themes just before the closing </head> tag.`]', $code_hint)}


[`Additional JavaScript 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}