Z-Blog 侧边栏调用的最新文章是带上文章发表日期的,一是觉得影响了网页的整体美观,二是感觉没有多少读者会关注文章发表日期的,遂打算去掉,搜索了一下,找到解决方法,修改 Z-Blog 根目录下的 ./FUNCTION/c_system_base.asp 文件,使用 Dreamweaver 查找 article-date,如下:
If objArticle.LoadInfoByID(objRS("log_ID")) Then
strPrevious=strPrevious & "<li><a href="""& objArticle.Url & """ title="""& objArticle.HtmlTitle &"""><span class=""article-date"">["& Right("0" & Month(objArticle.PostTime),2) & "/" & Right("0" & Day(objArticle.PostTime),2) &"]</span>" & objArticle.Title & "</a></li>"
End If
去掉 <span class=""article-date"">["& Right("0" & Month(objArticle.PostTime),2) & "/" & Right("0" & Day(objArticle.PostTime),2) &"]</span> 这一句代码,即可!
