Edit: Here's the full code from one of my Makefiles:
files := $(patsubst %.md,%,$(wildcard *.md))
all:
for f in $(files); do \
pandoc -s -o $$f.html --template=template.html $$f.md; \
doneYou can view the Pandoc html5 default here: https://github.com/jgm/pandoc/blob/master/data/templates/def...
By that I mean you write generator script[1] and use the helper functions `listFiles`, `generatePage` and `copyStatic` to generate the pages you want with the template/configuration you want at the path you want. That means you can render content not only markdown files, but any source whatsoever, and combine the sources in any way you like.
[1]: https://github.com/fiatjaf/levypla/blob/1407b110228387e4a4b7...
It is also many times faster than Jekyll. Both were the reason,we chose Hugo.
They gave me the Docker image to debug but it's useless because without sudo access, I can't do anything useful.