~kota/gemgen

v0.4.0 3 years ago

gemgen v0.4.0

This version adds templating. You can specifiy one or more template
files with the new -t, --template option. It accepts a comma seperated
list of strings using the form "pattern,/path/to/template" where pattern
is a regular expression matching your source filenames.

To match all input files with a template file named "content.tmpl" you
could use -t '.*,content.tmpl'. Full documentation is in the updated
manual.

The template files themselves consist of actions such as {{.Content}},
{{.LastEdit}} or {{.Filename}}. Again more info and examples are in the
man page.