summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index ec55024..3515091 100644
--- a/README.md
+++ b/README.md
@@ -6,14 +6,20 @@ This site is built in HUGO, when making a change, run
hugo
```
+When adding a new file, do it in the command line with:
+
+```sh
+hugo new filename
+```
+
+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, for more information look into [HUGO'S archetype page](https://gohugo.io/content-management/archetypes/)
+
For live changes editing the files
```sh
hugo server --noHTTPCache
```
-For more information, check [HUGO's documentation site](https://gohugo.io/documentation/)
-
## Shortcodes
Using the extensibility of HUGO, shortcodes are listed in the next syntax:
@@ -21,3 +27,5 @@ Using the extensibility of HUGO, shortcodes are listed in the next syntax:
- count: Count files of a specific section
- list: List files of a specific section
- snippet: HTML snippet code for recursing elements in pages
+
+For more information, check [HUGO's documentation site](https://gohugo.io/documentation/)