2013-08-17 12:34:25 +00:00
|
|
|
---
|
|
|
|
title: "Go Templates"
|
|
|
|
date: "2013-07-01"
|
2013-10-31 13:51:13 +00:00
|
|
|
groups: ["layout"]
|
2013-10-26 06:18:14 +00:00
|
|
|
groups_weight: 80
|
2013-10-31 13:51:13 +00:00
|
|
|
draft: true
|
2013-08-17 12:34:25 +00:00
|
|
|
---
|
|
|
|
|
2013-09-30 02:37:29 +00:00
|
|
|
Hugo uses the excellent golang html/template library for its template engine.
|
2013-08-17 12:34:25 +00: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.
|
|
|
|
|
|
|
|
|
|
|
|
|