gdritter repos tms / master simple-site / site.adnot
master

Tree @master (Download .tar.gz)

site.adnot @masterraw · history · blame

{
  name "simple site"

  defaults {
    template "main.mustache"
  }

  artifacts [

    (every "pages/%.md" {
      produce "pages/%.html"
      arguments {
        content (render markdown)
        title (meta title)
      }
    })

    (all "pages/*.md" {
      produce "combined.html"
      arguments {
        renderer (collect (render markdown))
        title "combined"
      }
    })

    (just "pages/index.md" {
      produce "index.html"
      arguments {
        content (render markdown)
        title "index"
      }
    })

  ]
}