nickdelgrosso / my-own-ssg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Static Site Generarator

This is an example of a basic static site generator in Python.

Installation

In your python virtual environmnet (I'm using Python 3.11), install the dependencies pip install -r requirements.txt.

Using

  1. In the config.yml file, Set the name of the theme you want to use (the theme must be in the themes folder).
  2. Run the main.py file.
  3. the rendered webpages will appear in the rendered/ directory.

About


Languages

Language:HTML 71.0%Language:Python 29.0%