{if $current_category.name}
<title>{$current_category.name} - {$config.site.name}</title>
<meta name="description" content="{$current_category.name}是{$config.site.name}网站下的一个文章分类，拥有海量与{$current_category.name}相关的文章和技术帮助文献。{$current_category.description}">
<meta name="keywords" content="{$current_category.name},{$config.site.name}">
{elseif $post.title}
<title>{if $pagination.page} {$pagination.page} - {/if}{$post.title} - {$post.category} - {$config.site.name}</title>
{if $post.content}
    {assign var="intro" value=$post.content|strip_tags|replace:'  ':' '|truncate:100:""}
{/if}
<meta name="description" content="{$post.title}是一篇与{$post.category}相关的优质文章，作者是{$post.author}，文章简介：{$intro}">
<meta name="keywords" content="{$post.title},{$post.category},{$config.site.name}">
{else}
<title>{$config.site.name} - 一个分享站长技术和资源网站</title>
<meta name="description" content="{$config.site.description}">
<meta name="keywords" content="{$config.site.keywords}">
{/if}