Changeset 17608


Ignore:
Timestamp:
2008/09/12 17:24:38 (16 years ago)
Author:
Seasoft
Message:

SEO管理で設定が無い(空の)場合に、content 属性が空文字のタグが吐かれるのを抑制した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/site_frame.tpl

    r17605 r17608  
    3333<script type="text/javascript" src="<!--{$TPL_DIR}-->js/site.js"></script> 
    3434<title><!--{$arrSiteInfo.shop_name|escape}--> / <!--{if $tpl_subtitle|strlen >= 1}--><!--{$tpl_subtitle|escape}--><!--{else}--><!--{$tpl_title|escape}--><!--{/if}--></title> 
    35 <meta name="author" content="<!--{$arrPageLayout.author|escape}-->" /> 
    36 <meta name="description" content="<!--{$arrPageLayout.description|escape}-->" /> 
    37 <meta name="keywords" content="<!--{$arrPageLayout.keyword|escape}-->" /> 
     35<!--{if $arrPageLayout.author|strlen >= 1}--> 
     36    <meta name="author" content="<!--{$arrPageLayout.author|escape}-->" /> 
     37<!--{/if}--> 
     38<!--{if $arrPageLayout.description|strlen >= 1}--> 
     39    <meta name="description" content="<!--{$arrPageLayout.description|escape}-->" /> 
     40<!--{/if}--> 
     41<!--{if $arrPageLayout.keyword|strlen >= 1}--> 
     42    <meta name="keywords" content="<!--{$arrPageLayout.keyword|escape}-->" /> 
     43<!--{/if}--> 
    3844 
    3945<script type="text/javascript">//<![CDATA[ 
Note: See TracChangeset for help on using the changeset viewer.