You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|gd 57d6d2b32b||1 year ago|
|docs||1 year ago|
|.gitignore||2 years ago|
|README.md||2 years ago|
|peji.py||1 year ago|
|requirements.txt||1 year ago|
|setup.py||1 year ago|
Pēji (Japanese: ページ, "page") is simple way to generate small static sites (one or more pages).
If you need to collect several pages from the Markdown, then Pēji are great for you.
Note: Pēji is not intended to generate a blog site. Its single pages only. You can link pages with hyper-links, but you have to do it manually.
- Python-Markdown is used.
- Code syntax highlighting via Pygments.
- Jinja2 template engine.
- Custom style and layout for specific page.
- Site menu bar can be edited through the config.
- YAML config file.
Installation and quickstart
Install Pēji globally or into virtual environment:
pip install Peji
Create your site:
peji create mysite cd mysite/
Create your first page and place it into
--- title: My first page --- # My heading It works!
Build your site:
Site will be placed in
Also you can run Python built-in HTTP Server:
python3 -m http.server --directory build/
Pēji is released under The Unlicense. See https://unlicense.org/ for detais.