mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +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
@@ -21,7 +21,6 @@ import (
|
||||
"fmt"
|
||||
"github.com/BurntSushi/toml"
|
||||
"github.com/theplant/blackfriday"
|
||||
"html/template"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"launchpad.net/goyaml"
|
||||
@@ -46,7 +45,7 @@ type Page struct {
|
||||
contentType string
|
||||
Draft bool
|
||||
Aliases []string
|
||||
Tmpl *template.Template
|
||||
Tmpl Template
|
||||
Markup string
|
||||
PageMeta
|
||||
File
|
||||
|
Reference in New Issue
Block a user