<xf:title page="{$page}">{{ phrase('xfrm_resources') }}</xf:title>
<xf:macro template="metadata_macros" name="canonical_url"
arg-canonicalUrl="{{ link('canonical:resources', null, {'page': $page > 1 ? $page : null}) }}" />
<xf:page option="searchConstraints" value="{{ {
phrase('xfrm_resources'): {'search_type': 'resource'}
} }}" />
<xf:pageaction if="$xf.visitor.canAddResource()">
<xf:button href="{{ link('resources/add') }}" class="button--cta" icon="write" overlay="true">{{ phrase('xfrm_add_resource...') }}</xf:button>
</xf:pageaction>
<xf:widgetpos id="xfrm_overview_above_resources" />
<xf:page option="sideNavTitle">{{ phrase('categories') }}</xf:page>
<xf:macro template="xfrm_category_list_macros" name="simple_list_block"
arg-categoryTree="{$categoryTree}"
arg-categoryExtras="{$categoryExtras}" />
<xf:widgetpos id="xfrm_overview_sidenav" position="sidenav" />