pelican 配置简析
Title: title //需要顶格写
Date: 2022-11-11
Category: Python
Tags: pelican, publishing
Slug: my-super-post
Authors: Alexis Metaireau, Conan Doyle
Summary: Short version for index and feeds
This is the content of my super blog post.
附件,图片等
![Icon]({attach}icons/icon.png)
![Photo]({attach}photo.jpg)
[Downloadable File]({attach}/downloads/archive.zip)
自动reload python -m pelican -l --ignore-cache --autoreload
配置路径 pelican content -s path/to/your/pelicanconf.py
几个推荐主题:
https://aleylara.github.io/Papyrus/
//安装后要反安装search 插件
https://github.com/alexandrevicenzi/Flex/tree/e63fdae267319fdfb5a0788fe2de9e75ce063569
https://github.com/jvanz/pelican-hyde/tree/1def3dd97609105f6ae31f0f88ab5ae6a94aa0c5
插件:
https://github.com/getpelican/pelican-plugins/tree/master/footer_insert https://github.com/getpelican/pelican-plugins/tree/master/better_figures_and_images
timezone
| CN | Asia/Shanghai | Beijing Time | Canonical | +08:00 | +08:00 | CST | asia |
| HK | Hongkong | Link | +08:00 | +08:00 | HKT |
Tables | Are | not Cool |
---|---|---|
col 1 is | left-aligned | $1600 |
col 2 is | centered | $12 |
col 3 is | right-aligned | $1 |