标题:{dede:field.title/}
关键字:{dede:field.keywords/}
描述:{dede:field.description function='html2text(@me)'/}
这是最基础的内容。
默认模板 templets\default\article_article.htm 里有参考的嘛
点击【模板】【默认模板管理】找到模板文件名【list_article.htm】,点击模板后面的修改,弹出修改模板代码页面。
更改模板文件中<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
这一段代码,修改为 {dede:field.seotitle /},点击保存即可
<meta name="keywords" content="{dede:field name='keywords'/}" />
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
调用栏目描述:
<meta name="description" content="{dede:field.description function='html2text(@me)'/}" />
{dede:field.description function='html2text(@me)'/}----------- 为SEO标题调