Typecho通过页面模板实现分类、归档标签页
通过独立页面的模板实现导航栏的分类和归档
步骤:
- 创建php文件,例
page-category.php
, 但文件名不重要 - 编辑php内容如下,文章分类、文章归档、标签模板
- 上传php文件到
theme/default
下 - 进入typecho后台,创建独立页面,选择模板,ok
- 文章分类
Better to run than curse the road
通过独立页面的模板实现导航栏的分类和归档
步骤:
page-category.php
, 但文件名不重要theme/default
下