【文件属性】:
文件名称:turtleblog:静态博客生成器
文件大小:96KB
文件格式:ZIP
更新时间:2021-05-31 01:04:00
CSS
海龟博客
python中的静态博客生成器。
安装
pip install Jinja2 Markdown Pygments
git clone https://github.com/scturtle/turtleblog.git
请手动安装 。
用法
修改config.json 。
创建博客(请参阅blog\2012\0715-test的演示博客)。
在html生成 html 文件并预览。
python turtle.py
python server.py
【文件预览】:
turtleblog-master
----server.py(588B)
----readme.md(477B)
----static()
--------favicon.png(1KB)
--------ipynb.css(190KB)
--------pygments.css(4KB)
--------bg.png(15KB)
--------style.css(4KB)
----page()
--------about()
----.gitignore(29B)
----turtle.py(6KB)
----template()
--------page.html(145B)
--------pagination.html(635B)
--------base.html(2KB)
--------tag.html(314B)
--------archive.html(369B)
--------blog.html(1KB)
--------atom.xml(714B)
--------tagcloud.html(287B)
----blog()
--------2012()
----config.json(235B)