temp changes

This commit is contained in:
Julien Chanséaume
2014-07-30 17:03:44 +02:00
committed by Julien Chanseaume
parent 0076a63cf2
commit 8c09605e32
2 changed files with 8 additions and 6 deletions

View File

@@ -5,22 +5,23 @@
{* Page Title *}
{block name='no-return-functions' append}
{loop name="content.seo.title" type="content" id="{content attr="id"}"}
{$page_title = {$META_TITLE}}
{$content_id={content attr="id"}}
{loop name="content.seo.title" type="content" id=$content_id}
{$page_title = {$META_TITLE}}
{/loop}
{/block}
{* Meta *}
{block name="meta"}
{loop name="content.seo.meta" type="content" id="{content attr="id"}"}
{include file="includes/meta-seo.html"}
{loop name="content.seo.meta" type="content" id=$content_id}
{include file="includes/meta-seo.html"}
{/loop}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = []}
{loop type="content" name="content-breadcrumb" id="{content attr="id"}"}
{loop type="content" name="content-breadcrumb" id=$content_id}
{loop name="folder_path" type="folder-path" folder="{$DEFAULT_FOLDER}"}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL}]}
{/loop}

View File

@@ -5,7 +5,8 @@
{* Page Title *}
{block name='no-return-functions' append}
{loop name="folder.seo.title" type="folder" id="{folder attr="id"}"}
{$folder_id={folder attr="id"}}
{loop name="folder.seo.title" type="folder" id=$folder_id}
{$page_title = {$META_TITLE}}
{/loop}
{/block}