shithub: hugo

ref: 0318f7c149f98eb2bcbb44b0ca1c7420379190eb
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 its 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.