My SSG for generating my website/blog content. https://maze88.dev
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Michael Zeevi 96695c1678
fixed two typos
2 weeks ago
in fixed two typos 2 weeks ago
res coloscheme javascript works, moved html into header template 2 months ago
template Merge branch 'main' into feature/dark-mode 2 months ago
.gitignore merged about and hobbies to single intro/hello page 3 months ago
README.md clarificiation 2 months ago
build.sh reworked build and post names 3 months ago
makefile added publish to makefile and updated readme 3 months ago

README.md

maze88.dev Static site generator

Input preparation

  1. All content should be written in markdown and put in the in/ directory.

    Note: Do not create an in/blog.md file, since the build will overwrite it when generating the blog index.

  2. 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.md
    

    or

    2022-01-11-writing-markdown.md
    2022-02-22-generating-html.md
    
  3. Each post should contain the following YAML in its frontmatter:

    ---
    title: Generating HTML with Pandoc
    date: 11/03/2022
    author: Michael Zeevi  # optional
    keywords:  # optional
    - markdown
    - html
    ---
    
  4. Additional resources and media (CSS, images, PGP public key, etc.) can be put in the res/ directory, which will be copied to out/res/ during build.

Usage

  • Build by running make (which wraps the ./build.sh script) - this will clean and then produce the output in the directory out.
  • Running make publish will both build and copy the output to the ../pages/ directory (repository). In order to complete publishing one may review the static content in the ../pages/ repository, then commit and push it to the remote repository.