4 ms·
Why does everyone claim to be the "most simple" static website generator? Then they list their few dependencies like "web framework foo". My idea of "most simpl
by qznc 13y ago
Why does everyone claim to be the "most simple" static website generator? Then they list their few dependencies like "web framework foo". My idea of "most simple" would be something like this:
#!/bin/bash
for f in *.mdwn
do
pandoc "$f" -o "${f%.*}.html" --standalone
done
A bash script with a loop plus one command to convert a markdown file into a HTML file. You might choose something different than pandoc. Most likely you will have an executable called "markdown*" in your $PATH.
- andrewflnr 13y agoI wrote a command line program that evaluates jinja2 templates (jinjafy.py), and then a script that filters a directory of html files through it, copying any other files. Works ok so far.