仔細的請教一下好了,這一段是加在header.htm的<head>與</head>之間嗎?
<!--{if $_TPL['keywords']}-->
<meta name="keywords" content="$_TPL['keywords']" />
<!--{/if}-->
<!--{if $_TPL['descriptions']}-->
<meta name="description" content="$_TPL['descriptions']" />
<!--{/if}-->
而這一段是加在blog_view.htm和thread_view.htm裡的<!--{template header}-->之前嗎?
<!--{eval $_TPL['keywords'] = implode(',', $blog['tag']).',驴友日记';}-->
<!--{eval $content=str_replace(" ","",$blog['message']);}-->
<!--{eval $description=preg_replace("'([\r\n])[\s]+'","",$content);}-->
<!--{eval $_TPL['descriptions'] = getstr($description, 208, 0, 0, 0, 0, -1);}-->
謝謝指導! |