From d51c92831bc344f2a0cf8a82ba2d49a9bcfadd43 Mon Sep 17 00:00:00 2001 From: vdigital Date: Sat, 3 Jan 2009 21:03:46 +0000 Subject: - $conf['meta_ref'] is a new configuration parameter (Default true) Meta tags for description, author, and keywords are generated, except if meta robots "noindex" is forced (with some pages like search, recent cats, etc.). In addition, $conf['meta_ref'] = false is forcing "noindex, nofollow". git-svn-id: http://piwigo.org/svn/branches/2.0@3040 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/header.tpl | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'template/yoga/header.tpl') diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index b0495c104..c64ae5959 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -1,10 +1,23 @@ {* $Id$ *} - + +{if isset($meta_ref) } +{if isset($INFO_AUTHOR)} + +{/if} +{if isset($related_tags)} + +{/if} +{if isset($COMMENT_IMG)} + +{else} + +{/if} +{/if} + {$GALLERY_TITLE} :: {$PAGE_TITLE} @@ -49,7 +62,8 @@ {if not empty($head_elements)} - {foreach from=$head_elements item=elt}{$elt}{/foreach} + {foreach from=$head_elements item=elt}{$elt} + {/foreach} {/if} -- cgit v1.2.3