diff --git a/web/archetypes/default.md b/web/archetypes/default.md index 932cd75f3a4f821bb5de308df7fc67e7b968cf72..ef75f7667844982f4b1fa06cf3a675972e0e9d0b 100644 --- a/web/archetypes/default.md +++ b/web/archetypes/default.md @@ -1,4 +1,4 @@ +++ -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} +title = "{{ replace .Name "-" " " | title }}" +date = {{ .Date }} +++ diff --git a/web/content/docs/devguide/development-workflows/web-docs/index.md b/web/content/docs/devguide/development-workflows/web-docs/index.md index eab5c93ea6532c6e7daca175ed85debdb58d7378..5bd02194928f23d72c69eed63cd68a7cef8180c5 100644 --- a/web/content/docs/devguide/development-workflows/web-docs/index.md +++ b/web/content/docs/devguide/development-workflows/web-docs/index.md @@ -39,7 +39,7 @@ As you make modifications to the site it will be rebuild and the page in the bro By using `hugo new` you can create a new page with the correct frontmatter for that kind of page: ```bash -hugo new docs/benchmarks/elliptic/groundwater-flow-dirichlet/index.md +hugo new --kind benchmark docs/benchmarks/elliptic/groundwater-flow-dirichlet/index.md ``` - path is relative to `content/` and determines the URL of the page