Differences between revisions 1 and 2
Revision 1 as of 2004-09-03 04:58:02
Size: 323
Editor: limodou
Comment:
Revision 2 as of 2004-09-03 06:58:54
Size: 955
Editor: limodou
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:

== 概述 ==
pyBlosxom有定制样式的能力,它缺省提供了html, rss0.9和rss3的样式。

一个样式包含以下几个文件:

 * content_type.flav - 用于返回Content-type值(对于web页面来说,只是"text/html")
 * head.flav - 在Blog条目之前的内容
 * story.flav - Blog条目显示在这里
 * foot.flav- 页角。对于关闭<table>或<div>标记有用
 * date_head.flav - 在日期前显示
 * date_foot.flav - 在日期后显示
 * comment*.flav - 查阅["评论(comment)的安装"]

一个样式文件名的后缀可以随便起。不同的后缀用来区分不同的样式。

含有章节索引的中文 文章模板

-- limodou [DateTime(2004-09-03T04:58:02Z)] TableOfContents

为pyBlosxom增加样式

是pyBlosxom的模板功能,此文档参照 [http://wiki.subtlehints.net/moin/FlavourTemplates Flavour Templates]所写,也可以算作是译文

概述

pyBlosxom有定制样式的能力,它缺省提供了html, rss0.9和rss3的样式。

一个样式包含以下几个文件:

  • content_type.flav - 用于返回Content-type值(对于web页面来说,只是"text/html")
  • head.flav - 在Blog条目之前的内容
  • story.flav - Blog条目显示在这里
  • foot.flav- 页角。对于关闭<table>或<div>标记有用

  • date_head.flav - 在日期前显示
  • date_foot.flav - 在日期后显示
  • comment*.flav - 查阅["评论(comment)的安装"]

一个样式文件名的后缀可以随便起。不同的后缀用来区分不同的样式。

PyBlosxomIniThemes (last edited 2009-12-25 07:15:17 by localhost)