From 643ad39c894fa1bb896714dd340641ab6cc605e3 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Wed, 14 Aug 2024 21:27:56 -0600 Subject: modified: creating a file with hugo --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') 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/) -- cgit v1.2.3