- HTML 45%
- CSS 34.1%
- Shell 10.1%
- JavaScript 7.6%
- Makefile 3.2%
| in | add link to ishkur's electronic music guide | |
| res | a souvenir from april fools | |
| template | add liberapay donation link to footer, bump up email in contact method list, add more detail about fond music | |
| .gitignore | merged about and hobbies to single intro/hello page | |
| build.sh | changed publish to give full copy-pastable instructions | |
| LICENSE | add license | |
| makefile | remove mock echo line from development phase | |
| README.md | update usage section to reflect new automation in makefile | |
maze88.dev Static site generator
Input preparation
-
All content should be written in markdown and put in the
in/directory.Note: Do not create an
in/blog.mdfile, since the build will overwrite it when generating the blog index. -
Blog posts should be placed in the
in/posts/directory, with filenames that are arranged chronologically by prefix (using numbers and dashes only), such as:00-writing-markdown.md 01-generating-html.mdor
2022年01月11日-writing-markdown.md 2022年02月22日-generating-html.md -
Each post should contain the following YAML in its frontmatter:
---title:Generating HTML with Pandocdate:11/03/2022author:Michael Zeevi # optionalkeywords:# optional- markdown- html--- -
Additional resources and media (CSS, images, PGP public key, etc.) can be put in the
res/directory, which will be copied toout/res/during build.
Usage
Local development and testing
-
Build by running
make(which wraps the./build.shscript) - this will clean and then produce the output in the directoryout. -
One can test by opening the output locally in their web browser.
Publishing (deploying)
-
Run
make publish- this will first build and copy the output to the../pages/directory (repository), and then automatically commit and push (!) to the remote pages repository (thus publishing it). -
One can test by going to the website with their browser.