Use gmnhg/ instead of layouts/gmnhg/
Unfortunately, Hugo will try to parse every template file in layouts/, so we have to reside somewhere else.
This commit is contained in:
parent
9d16372487
commit
421a40783c
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ being unable to parse links/images inside other links.
|
|||
## gmnhg
|
||||
|
||||
This program converts Hugo Markdown content files from `content/` in
|
||||
accordance with templates found in `layouts/gmnhg` to the output dir. It
|
||||
accordance with templates found in `gmnhg/` to the output dir. It
|
||||
also copies static files from `static/` to the output dir.
|
||||
|
||||
For more details about the rendering process, see the
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
//
|
||||
// gmngh will read layout template files (with .gotmpl extension) and
|
||||
// then apply them to content files ending with .md by the following
|
||||
// algorithm (layout file names are relative to layouts/gmnhg):
|
||||
// algorithm (layout file names are relative to gmnhg/):
|
||||
//
|
||||
// 1. If the .md file specifies its own layout, the relevant layout file
|
||||
// is applied. If not, the default template is applied (single). If the
|
||||
|
@ -87,7 +87,7 @@ const (
|
|||
|
||||
const (
|
||||
contentBase = "content/"
|
||||
templateBase = "layouts/gmnhg/"
|
||||
templateBase = "gmnhg/"
|
||||
staticBase = "static/"
|
||||
outputBase = "output/"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue