mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 18:22:30 +00:00
984 B
984 B
title | date | aliases | linktitle | groups | groups_weight | ||
---|---|---|---|---|---|---|---|
Templates | 2013-07-01 |
|
Overview |
|
10 |
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
If you are new to go's templates the go template primer is a great place to start.
Template roles
There are 6 different kinds of templates that Hugo works with.
Homepage
The homepage of your site
RSS
Used to render all rss documents
Index
Page that list multiple pieces of content
Content
Render a single piece of content
Views
Different view of a single piece of content type
Chrome
Support for the above templates