<{* Template: content_list.html Description: The overview page for a content type with its own URL (Indholdstyper). Used for every type unless the theme has a content__list.html for it. Variables: $content_type (SafeContentType), $content_entries (list of SafeContentEntry), $pager, $breadcrumbs *}> <{if $content_type}> <{capture name="title"}> <{$content_type->getName()}> <{/capture}> <{* Same columns and layout as the blog lists (Theme settings → Blog Lists) *}> <{$content_list_columns = $settings.blog_list.columns|default:'3'}> <{if $settings.blog_list.layout == 'simple'}> <{$content_list_layout = 'grid'}> <{else}> <{$content_list_layout = 'cards'}> <{/if}>
<{if $settings.breadcrumbs.enable_breadcrumbs}>
<{include file="components/breadcrumbs.html"}>
<{/if}>

<{$content_type->getName()|escape}>

<{if $content_entries}>
    <{foreach $content_entries as $content_list_entry}>
  • <{include file="components/content-card.html" entry=$content_list_entry layout=$content_list_layout show_image=$content_type->hasImages() show_fields=true heading="h2"}>
  • <{/foreach}>
<{if $pager}> <{$content_list_pages = $pager->render()}> <{if $content_list_pages}> <{/if}> <{/if}> <{else}>

<{t}>There is nothing to show here yet.<{/t}>

<{/if}>
<{include file="components/page-blocks.html"}>
<{/if}>