diff options
author | Alejandro <alex.mac.fon@gmail.com> | 2024-08-14 21:27:56 -0600 |
---|---|---|
committer | Alejandro <alex.mac.fon@gmail.com> | 2024-08-14 21:27:56 -0600 |
commit | 643ad39c894fa1bb896714dd340641ab6cc605e3 (patch) | |
tree | 51b2ca21c450168456729b9e565a21276b7c3d64 /README.md | |
parent | a9db0d9059c1a6c61b6d96e845284369350243c4 (diff) |
modified: creating a file with hugo
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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/) |