安装
pip3 install “pelican[markdown]”
快速启动
pelican-quickstart
创建文章
Create your first article with the following content in ~/projects/yoursite/content/keyboard-review.md:
Title: My First Review
Date: 2010-12-03 10:20
Category: Review
Following is a review of my favorite mechanical keyboard.
将md生成html
pelican content
启动服务
pelican --listen -b 10.2.5.20 -p 8000
帮助
pelican --help
更换主题
git clone https://github.com/getpelican/pelican-themes.git
pelican content -s pelicanconf.py -t pelican-themes/bootstrap2
pelican content -s pelicanconf.py -t pelican-themes/aboutwilson/