pidgeotto
1.0.0
另一个静态网站生成器。
为什么选择Pidgeotto?
pip install pidgeotto
$ pip安装git+https://github.com/niharokz/pidgeotto
默认情况下,Pidgeotto将从Pypi Pip pyyaml, jinja2, markdown2安装以下软件包
$ pidgey init project用名称为“项目”来启动Pidgeotto
$ pidgey new pageName要创建带有名称“ pagename”的新页面/帖子/注释
$ pidgey build pageName构建静态页面并将其保留在“公共”目录中。
showinhome标签中存在每个注释中。 showInHome: True Will将创建Blog/Note Post的页面。
``` showInHome: False ```
will create page which are pages.
config.yml是可扩展的。例如,如果要添加favicon.ico。将Favicon放在资源文件夹中。 favicon: resource/favicon.ico ,添加{{config.get('favicon')}}。
每页额外的元数据。如果要在页面上添加一些元数据,则可以使用Markdown页面上的以下命令完成。 meta : '<link rel="stylesheet" type="text/css" href="/extra.css" />
pidgeotto_project
├── public
├── config.yml
├── content
│ ├── header.md
│ ├── footer.md
│ ├── home.md
│ ├── archive.md
│ └── note
│ └── other_pages.md
├── resource
└── templates
├── home_template.html
├── note_template.html
└── rss_template.xml
以下是通过Pidgeotto运行的站点的示例。