{"repo":"dannyvankooten/gozer","free":true,"listed":false,"github":"https://github.com/dannyvankooten/gozer","clone":"git clone https://github.com/dannyvankooten/gozer.git","description":"Fast, opinionated and simple static site generator in a single static binary.","language":"Go","stars":78,"topics":["golang","static-site-generator","website","blog-engine","cms","content-management-system","markdown","markdown-to-html","site-generator"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"Gozer Gozer is a fast & simple static site generator written in Golang. - Converts Markdown and djot to HTML. - Allows you to use page-specific templates. - Creates an XML sitemap for search engines. - Creates an RSS feed for feed readers. The example directory contains a barebones example of a Gozer site. Installation You can install Gozer by first installing a Go compiler and then running: Usage Run gozer new to quickly generate an empty directory structure. Then, run gozer build to generate your site. Any Markdown files placed in your content/ directory will result in an HTML page in your build directory after running gozer build . For example: - content/index.md creates a file build/index.html so it is accessible over HTTP at / - content/about.md creates a file build/about/index.html so it is accessible over HTTP at /about/ . Commands Run gozer without any arguments to view the help text. Content files Each file in your content/ directory should end in .md or .dj and have TOML front matter specifying the page title: djot note djot has not settled on a syntax for front matter. Until issue #35 is resolved, TOML front matter in djot documents are used. Templates The default template for every page is default.html . You can override it by setting the template variable in your front matter. Templates are powered by Go's standard html/template package, so you can use all the actions described here. Every template receives the following set of variables: Meta contains all keys f","default_branch":null,"files":null,"tree":[],"storefront":"/r/dannyvankooten","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dannyvankooten/gozer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}