概要
pelicanでは様々なプラグインがあるようだ。 これらを利用することでpelicanにはなかった機能を保管することができる。
[https://github.com/getpelican/pelican-plugins]
導入方法
githubよりcloneする。
$> git clone https://github.com/getpelican/pelican-plugins (現在いるディレクトリにコピーが作られるので注意)
pelicanconf.pyファイルに以下のようにコードを追記
PLUGIN_PATH = '/path/to/pelican-plugins'
PLUGINS = ['plugin1', 'plugin2', ]
PLUGINSには並列で導入したいプラグインのフォルダ名を入れる。
プラグインの紹介
- tipue search beautifulsoup4が必要となる。 $> pip install bearutifulsoup4
Comments
comments powered by Disqus