My site: cananito.com, rogeliogudino.com, or cananito.github.io.
In the _generator/ directory there's a generator.c program that goes over all the Markdown pages in _generator/content/, converts them to HTML, stiches them into the HTML template _generator/template.html, and outputs them as HTML at the root of the repository.
- Linux or macOS.
- A C compiler.
- Make
- Clone this repository with the
--recurse-submodulesflag.
Alternatively:
- Clone this repository.
cdinto themd4cdir.- Run
git submodule init && git submodule update.
- Edit or add
.mdfiles in_generator/content/.- Begin the file with a
% title: Somethingtoken to have it's title be "Something", otherwise defaults to "Rogelio Gudiño". - Add the
% generate_footertoken to add a footer to the page with a link to the home page. Has to come after the title token.
- Begin the file with a
- Run
make. - Commit and push both
.mdand the generated.htmlfiles.
- Run
make build.
- Run
make clean.