<h2 class="contentTitle">
<#if site.parentId?has_content>
    <li><button type="button" class="buttonDisabled"><@t.page 'site.parent_maintain'/></button></li>
<#else>
    <a class="button" href="cmsTemplate/upload.html?path=${(path?url)!}" target="dialog" mask="true" width="500" height="250"><@t.page 'template.upload'/></a>
    <a class="button" href="cmsTemplate/export?_csrf=<@_csrfToken admin=true/>" target="dwzExport" targetType="navTab"><@t.page 'button.export'/></a>
    <#if path?has_content>
        <a class="button" href="cmsTemplate/delete?path=${path?url}&navTabId=cmsTemplate/list&_csrf=<@_csrfToken admin=true/>" title="<@t.page 'confirm.delete_directory'/>" target="ajaxTodo"><@t.page 'button.delete_directory'/></a>
        <a class="button" href="cmsTemplate/metadata.html?path=${(path?url)!}/" target="ajax" rel="cmsTemplateBox"><@t.page 'template.create_here'/></a>
    </#if>
</#if>
</h2>