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

# {$TITLE}

{if $CHAPO}
{$CHAPO}
{/if} {if $DESCRIPTION}
{$DESCRIPTION nofilter}
{/if} {ifloop rel="blog.document"}

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

{/ifloop} {if $POSTSCRIPTUM} {$POSTSCRIPTUM} {/if} {/loop} {hook name="content.content-bottom" content="$content_id"}
{include file="includes/asides/articles.html"}
{hook name="content.main-bottom" content="$content_id"}
{hook name="content.bottom" content="$content_id"} {else}
{include file="includes/empty.html"}
{/if} {/block} {block name="stylesheet"} {hook name="content.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="content.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="content.javascript-initialization"} {/block}