hugolob: A first incorporation of output types in rendering

This commit is contained in:
Bjørn Erik Pedersen
2017-03-06 13:40:06 +01:00
parent 10de077164
commit 254cd89c8e
5 changed files with 25 additions and 16 deletions

View File

@@ -29,6 +29,8 @@ var (
}
)
type Types []Type
// Type represents an output represenation, usually to a file on disk.
type Type struct {
// The Name is used as an identifier. Internal output types (i.e. HTML and RSS)