{if empty($category.id)}

{if !empty($hub_context)} ← {$hub_context.name|default:'[`(no name)`]'|escape} {/if} {$category.name|default:'[`New category`]'|escape}

{else} {/if}
{if !empty($category.id)} {/if}
[`Category name`]
{if $hub.status}
[`Frontend URL`]
{if $routes}{$routes[0].start|escape}{/if} {if $routes}{$routes[0].end|escape}{/if}

{foreach $routes as $route}{if !$route@first} {if !empty($category.url)}{$route.url|replace:'%url%':$category.url|escape}{/if}
{/if}{/foreach}

{/if}
[`Category summary`]
{if $hub.status}
[`Logo`]
{if !empty($category.logo)}

{/if} {if !empty($category.logo)}
[`Delete`] {/if}

[`Category logo will be published on the hub’s homepage. The logo size depends on the design theme you are using. Most design themes will scale the logo down to about 50px wide.`]

{/if}
[`Category type`]
{if !empty($category.id)} {/if} {if empty($category.id) || ($category.type==hubCategoryModel::TYPE_STATIC)}

[`You’ll be able to manually add new topics and move existing topics into this category.`]

{/if} {if empty($category.id) || (($category.type==hubCategoryModel::TYPE_DYNAMIC) && !empty($category.conditions.type_id))}
{hubHelper::getGlyph('info', 16, true)}

[`This category will be automatically filled with topics of the selected type. The sort order of topics is defined by their type.`]

{/if} {if empty($category.id) || (($category.type==hubCategoryModel::TYPE_DYNAMIC) && empty($category.conditions.type_id))}
{if empty($category.id) && empty($cloud)}

[`This option is not available because this hub does not have any tags yet.`]

{else}

[`This category will be automatically filled with topics with selected tags.`]

{/if}
{/if}
{if $hub.status} {foreach $base_types as $t_id => $t} {/foreach} {/if}
{*META TAGS*}
[`Title`]
[`META Keywords`]
[`META Description`]
{*SOCIAL NETWORK*} {$use_custom_settings = !isset($og.title) && !isset($og.description)}
[`Social media tags (Open Graph)`]

[`Please refer to Open Graph protocol site for more information on social sharing meta tags and available values.`]

[`Social sharing`]
[`Social sharing title`] og:title
[`Social sharing image URL`] og:image

[`If no value is specified, a social network will attempt to automatically determine a preview image.`]
[`Social sharing video URL`] og:video
[`Social sharing description`] og:description
{$wa->csrf()} [`or`] [`cancel`]
{if empty($category.id)}
{/if} {if !empty($category.id)} {/if}