1
0
Fork
You've already forked minpage
0
Minimal static website generator written in Python
  • HTML 71.4%
  • Python 21.3%
  • CSS 7.3%
Find a file
2020年08月19日 08:48:41 +02:00
content Basic files 2020年08月16日 17:35:03 +02:00
output Basic files 2020年08月16日 17:35:03 +02:00
theme Adding docs 2020年08月16日 18:26:43 +02:00
advanced.md Adding docs 2020年08月16日 18:26:43 +02:00
basic.py Split 2020年08月19日 08:48:41 +02:00
modules.py Split 2020年08月19日 08:48:41 +02:00
README.md Adding docs 2020年08月16日 18:26:43 +02:00

minpage : Minimalist static website generator.

This app has been created in Python and is the simplified version of Pelican.

Installation and minimum configuration

  1. Download the git repo
git clone https://gitea.com/chopin42/minpage
cd minpage
  1. Customize the theme/base.html file to add your navigation menu and your site's name.

Usage

  1. Create a markdown file like 1-article.md in the directory content/. The number is used to organize the articles. You can also put all the images and related content in this folder.

  2. Your article needs to be organized the following way:

{Title: Your Title here}
{Author: Your Name}
{Date: 12-12-12 12:12}
{Category: Your Category}
{Body}
You can write your *markdown* article **here**. ![image](./image.png)
  1. Run the following command:
./basic.py

Advanced configuration

You can find all the informations about the advanced configuration here.