No description
Find a file
Collin Lefeber 2c9c1f5b7c
All checks were successful
/ build (push) Successful in 8s
56b47e2 cont. missed few things
2025-04-29 16:38:37 -04:00
.forgejo/workflows use base alpine node image for build 2025-04-29 16:12:31 -04:00
posts ducky post 2025-03-29 13:48:33 -04:00
public 56b47e2 cont. missed few things 2025-04-29 16:38:37 -04:00
.gitignore public dir 2024-11-22 15:39:52 -05:00
bench.sh build_a_blog: bench, main errors 2024-06-19 15:34:10 -04:00
index.html.tmpl ditch js highlighting 2025-04-29 16:05:09 -04:00
index.xml.tmpl build-a-blog 2024-06-17 19:52:21 -04:00
LICENSE license 2024-06-15 12:28:33 -04:00
main.py ditch js highlighting 2025-04-29 16:05:09 -04:00
Makefile 56b47e2 cont. missed few things 2025-04-29 16:38:37 -04:00
pygments_theme_dark.txt different themes, makefile build theme css 2025-04-29 16:37:33 -04:00
pygments_theme_light.txt different themes, makefile build theme css 2025-04-29 16:37:33 -04:00
README.md migrate srht 2024-11-25 17:56:59 -05:00

cfebs.com

A blog generator.

Usage

Put posts in ./posts as .md files.

Add metadata to the head of each post file.

Example:

Title:  My post
Date:   2024-06-17T22:51:28-04:00
---
Now I'll start my _amazing_ markdown post

Run python3 ./main.py to regenerate the site.

Templates

Also required are two template files: index.html.tmpl, index.xml.tmpl

index.html.tmpl used for index and each post

  • Must contain a ${content} variable where list of posts and post content will be replaced.

index.xml.tmpl used for RSS

  • Can be used verbatim

TODO

  • Do not hard-code domain or posts location
  • Make templates examples that user has to move to locations