本文未指定自定义模板,走主题默认 post.html。
默认布局通常与教程文档一致,便于分类下的章节阅读。
代码块
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet("theme_runoob"));表格
| 模板 | 用途 | 文件 |
|---|---|---|
| 教程文档 | 左侧目录 + 正文 | post_tutorial.html |
| 普通文章 | 无侧栏文章 | post_article.html |
| 教程系列 | 分类章节首页 | category_tutorial.html |