网站标题,关键字,描述,修改

来源:百度知道 编辑:UC知道 时间:2024/05/27 09:13:26
我用的是整站系统,网站标题跟关键字都可以在后台添加;就是网站描述后台没地方加。而我在模板中找出相对应的文件,一个是“head”代码是这样的
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="Inc/Skin_css.asp" --><TITLE><%=SiteTitle%></TITLE>
<head>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name="keywords" content="<%=Keywords%>">
<%const ChannelID=2
call MenuJS()%>
</head>

还有一个是文件是“headp”代码是
<!--#include file="Inc/Skin_css.asp" -->
<head>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name="keywords" content="<%=Keywords%>">
<%con

<!--#include file="Inc/Skin_css.asp" --><TITLE><%=SiteTitle%></TITLE>
<head>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name="keywords" content="<%=Keywords%>">
<!-- 加入下面这一句 -->
<meta name="description" content="这里为你的描述内容" />
<!-- 加入上面这一句 -->
<%const ChannelID=2
call MenuJS()%>
</head>

所有有关head的都改,
只要你类似%=Keywords%这样带%的变量不改动,它就能自动调用你后台设定的关键字