2013-08-17 08:34:25 -04:00
|
|
|
---
|
|
|
|
title: "Go Templates"
|
|
|
|
date: "2013-07-01"
|
2013-10-31 09:51:13 -04:00
|
|
|
groups: ["layout"]
|
2013-10-26 02:18:14 -04:00
|
|
|
groups_weight: 80
|
2013-10-31 09:51:13 -04:00
|
|
|
draft: true
|
2013-08-17 08:34:25 -04:00
|
|
|
---
|
|
|
|
|
2013-09-29 22:37:29 -04:00
|
|
|
Hugo uses the excellent golang html/template library for its template engine.
|
2013-08-17 08:34:25 -04:00
|
|
|
It is an extremely lightweight engine that provides a very small amount of
|
|
|
|
logic. In our experience that it is just the right amount of logic to be able to
|
|
|
|
create a good static website.
|
|
|
|
|
|
|
|
This is a brief primer on using go templates. The [golang
|
|
|
|
docs](http://golang.org/pkg/html/template/) provide more details.
|
|
|
|
|
|
|
|
|
|
|
|
|