{extends file="layout.tpl"} {block name="init"} {$folder_id={folder attr="id"}} {/block} {* Body Class *} {block name="body-class"}page-folder{/block} {* Page Title *} {block name='no-return-functions' append} {if $folder_id} {loop name="folder.seo.title" type="folder" id=$folder_id limit="1"} {$page_title = $META_TITLE} {/loop} {/if} {/block} {* Meta *} {block name="meta"} {if $folder_id} {loop name="folder.seo.meta" type="folder" id=$folder_id limit="1"} {include file="includes/meta-seo.html"} {/loop} {/if} {/block} {* Breadcrumb *} {block name='no-return-functions' append} {if $folder_id} {$breadcrumbs = []} {loop name="folder_path" type="folder-path" folder=$folder_id} {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} {/loop} {/if} {/block} {block name="feeds"} {/block} {* Content *} {block name="main-content"} {assign var="$folder_id" value={folder attr="id"}} {hook name="folder.top" folder="$folder_id"}
{hook name="folder.main-top" folder="$folder_id"}
{hook name="folder.content-top" folder="$folder_id"} {if $folder_id} {loop name="folder" type="folder" id=$folder_id limit="1"}

# {$TITLE}

{if $CHAPO}
{$CHAPO}
{/if} {if $DESCRIPTION}
{$DESCRIPTION nofilter}
{/if}
{ifloop rel="folder_content"}

{loop name="folder_content" type="content" folder="$ID"}
- {ifloop rel="content_thumbnail"} {loop name="content_thumbnail" type="image" width="369" height="247" content=$ID limit="1"} {/loop} {/ifloop}

  ### {$TITLE}

  {if $CHAPO}
  {$CHAPO}
  {/if}
{/loop}

{/ifloop} {elseloop rel="folder_content"}
{intl l="No Contents in this folder."}
{/elseloop}
{ifloop rel="blog.document"}

{loop name="blog.document" type="document" folder={$ID}}
- {$TITLE}
{/loop}

{/ifloop} {if $POSTSCRIPTUM} {$POSTSCRIPTUM} {/if} {/loop} {else} {ifloop rel="folders"}

{loop name="folders" type="folder"}

- ## {$TITLE}

  {if $CHAPO}
  {$CHAPO}
  {/if}
{/loop}

{/ifloop} {/if} {hook name="folder.content-bottom" folder="$folder_id"}
{hook name="folder.main-bottom" folder="$folder_id"}
{hook name="folder.bottom" folder="$folder_id"} {/block} {block name="stylesheet"} {hook name="folder.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="folder.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="folder.javascript-initialization"} {/block}