a stupid website compiler https://groupoid.moe
Go to file
Dan Frumin ef410c7df4 switch review draft 2022-04-11 22:37:22 +02:00
content add a missing blogpost 2021-06-14 15:58:10 +02:00
drafts switch review draft 2022-04-11 22:37:22 +02:00
src generate valid atom 2020-08-29 14:35:03 +02:00
static better static stuff 2020-08-29 12:56:21 +02:00
Makefile bump the makefile 2021-03-30 16:35:51 +02:00
README update README 2020-08-29 13:00:27 +02:00
dune-project first commit 2020-08-28 17:58:45 +02:00

README

Dan's idiotic static site compiler.

Requirements:
- ocaml libraries: omd (dev version) and ISO8601
- dune for building
- make (tested with GNU make)

Directory structure:
- static/
  files from this directry will be copied to `/static'
- content/
  all the .md files in the directory will be compiled to HTML
  a file `content/X.md' will end up as `/posts/X.html'
  the index of all the posts will end up as `/posts.html'
- ~/www/
  whatever you have in ~/www/ will be copied over to the root directory
  (i use org-mode to write static pages.. i know, it's a mess)

The src/webcc.ml program compiles markdown files to HTML.
It can also generate an index of all the posts.