Welcome to mirror list, hosted at ThFree Co, Russian Federation.

amber.md « templates « content « docs - github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ba84353b19777e27738756a554eec444da046dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
aliases:
- /doc/templates/amber
- /layout/templates/amber
- /layout/amber/
lastmod: 2015-11-05
date: 2015-07-20
linktitle: Amber templates
menu:
  main:
    parent: layout
next: /templates/functions
prev: /templates/go-templates
title: Amber Templates
weight: 18
---

Amber templates are another template type which Hugo supports, in addition to [Go templates](/templates/go-templates) and [Ace templates]({{< relref "templates/ace.md" >}}) templates.

For template documentation, follow the links from the [Amber project](https://github.com/eknkc/amber)

* Amber templates must be named with the amber-suffix, e.g. `list.amber`
* Partials in Amber or HTML can be included with the Amber template syntax:
	* `import ../partials/test.html `
	* `import ../partials/test_a.amber `