shithub: hugo

ref: 3d0dc1acb1089022172f61ed65f6002f3fdb9780
dir: /docs/content/layout/go-templates.md/

View raw version
---
title: "Go Templates"
date: "2013-07-01"
---

Hugo uses the excellent golang html/template library for it's template engine.
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.