summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-08-14 21:27:56 -0600
committerAlejandro <[email protected]>2024-08-14 21:27:56 -0600
commit643ad39c894fa1bb896714dd340641ab6cc605e3 (patch)
tree51b2ca21c450168456729b9e565a21276b7c3d64
parenta9db0d9059c1a6c61b6d96e845284369350243c4 (diff)
modified: creating a file with hugo
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 29135b3..5d7c795 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,11 @@ hugo
When adding a new file, do it in the command line with:
```sh
-hugo new filename
+hugo new content archetype/filename.md
+```
+or
+```sh
+hugo new content filename.md
```
The file is going to be saved in the `content` folder, and it will use the `default.md` file from the `archetypes/` folder as a template for making the title and some other metadata (using the toml format), for more information look into [HUGO'S archetype page](https://gohugo.io/content-management/archetypes/)