diff --git a/README.md b/README.md index c7650a5..44cc4be 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cmd/gmnhg/main.go b/cmd/gmnhg/main.go index 22a5fb3..8a5d82f 100644 --- a/cmd/gmnhg/main.go +++ b/cmd/gmnhg/main.go @@ -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/" )