book:Zola的Gitbook主题

时间:2021-05-10 09:25:30
【文件属性】:
文件名称:book:Zola的Gitbook主题
文件大小:146KB
文件格式:ZIP
更新时间:2021-05-10 09:25:30
SCSS 书 基于的主题,用于编写文档或书籍。 内容 安装 首先将此主题下载到您的themes目录: $ cd themes $ git clone https://github.com/getzola/book.git 然后在您的config.toml启用它: theme = " book " # Optional, if you want search build_search_index = true 用法 Book将根据您放置在content目录中的文件生成一本书。 您的书可以分为两个层次:章节和子章节。 每个章节都应该是Gutenberg站点中的一个section ,并且应该有一个_index.md文件,该文件将其weight前面的变量设置为其章节号。 例如,第2章的weight = 2应weight = 2 。 此外,每章的前sort_by = "weight"还应设置sort_
【文件预览】:
book-master
----content()
--------chapter4()
--------chapter2()
--------chapter1()
--------chapter3()
--------_index.md(33B)
--------chapter5()
----templates()
--------page.html(1KB)
--------section.html(2KB)
--------index.html(4KB)
----config.toml(210B)
----theme.toml(314B)
----LICENSE(1KB)
----static()
--------book.js(6KB)
----screenshot.png(142KB)
----.gitignore(14B)
----sass()
--------book.scss(605B)
--------_content.scss(3KB)
--------_header.scss(3KB)
--------_normalize.scss(8KB)
--------_navigation.scss(820B)
----README.md(2KB)

网友评论