"Hagen" is a generator for static homepages, written in Rust.
hagen.yaml
~~~yaml rules: - selectorType: layout template: "{{ frontMatter.layout }}" outputPattern: "{{ metadata.parent }}/{{ metadata.name }}.html"
assets: - dir: assets to: assets ~~~
templates/default.hbs
~~~handlebars
content/site.yaml
~~~yaml info: title: Example site clain: Just testing. ~~~
content/index.md
layout: default
Welcome to my test. ~~~
Different contexts have different variables. All values are JSON based.
full
compact
context
output
path
site_url