--- title: "Go Templates" date: "2013-07-01" groups: ["layout"] groups_weight: 80 draft: true --- Hugo uses the excellent [golang][] [html/template][gohtmltemplate] 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][gohtmltemplate] provide more details. In your top-level configuration file (eg, `config.yaml`) you can define site parameters, which are values which will be available to you in chrome. For instance, you might declare: ```yaml params: CopyrightHTML: "Copyright © 2013 John Doe. All Rights Reserved." TwitterUser: "spf13" SidebarRecentLimit: 5 ``` Within a footer layout, you might then declare a `