projects
Etejo
Etejo [et-EY-oh] - Esperanto for "little place" - is a simple static site generator script written in Python. I didn't want to use a big bulky CMS, and I found most other static site generators to be overcomplicated, when all I wanted was a simple script to just slap some Markdown into a HTML template.
The code is honestly pretty garbage, probably does not follow best practices at all, is written specifically for my own purposes and will not bend to your personal whims. Please don't laugh. I'm not a developer, I just smash things together until they work.
Features:
- Takes Markdown files named, for example
pages/01.home.md,pages/02.about.md, etc, and converts the Markdown into HTML - Adds HTML header and footer templates and generates navigation (sorted by the numbers at the beginning of each page's filename)
- Outputs each page into its own folder for clean URLs
- Support for subpages (only nested 1 deep at the moment)
Features maybe planned for the future:
- Simple blogging
- Better templating (i.e. not hardcoding the navigation HTML)
- Automatically deploy to web server over SFTP after successful build