pidgeotto
1.0.0
さらに別の静的Webサイトジェネレーター。
なぜピッジットを選ぶのですか?
pip install pidgeotto
$ pipインストールgit+https://github.com/niharokz/pidgeotto
デフォルトでは、PidgeottoはPypi Pip pyyaml, jinja2, markdown2の以下のパッケージをインストールします
$ pidgey init project「プロジェクト」という名前でピッジットを開始するには
$ pidgey new pageName「PageName」という名前の新しいページ/投稿/メモを作成するには
$ pidgey build pageName静的ページを構築し、それらを「パブリック」ディレクトリに保持します。
showinhomeタグは、各ノートマークダウンに存在します。 showInHome: Trueブログ/ノート投稿であるページを作成します。
``` showInHome: False ```
will create page which are pages.
config.ymlは拡張可能です。たとえば、Favicon.icoを追加する場合。 Faviconをリソースフォルダーに保管してください。 favicon: resource/favicon.ico in config.yml in templateに、{{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経由で実行されているサイトの例です。