mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Add support for amber files
If a layout file ends with .amber it will interpreted as a Amber file Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
This commit is contained in:
committed by
Noah Campbell
parent
ee5865f239
commit
ba82a20321
@@ -39,10 +39,9 @@ func TestDegenerateRenderThingMissingTemplate(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestPrimeTempaltes(t *testing.T) {
|
||||
func TestPrimeTemplates(t *testing.T) {
|
||||
s := new(Site)
|
||||
s.prepTemplates()
|
||||
s.primeTemplates()
|
||||
if s.Tmpl.Lookup("alias") == nil {
|
||||
t.Fatalf("alias template not created.")
|
||||
}
|
||||
|
Reference in New Issue
Block a user