summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-07-28 20:49:59 -0600
committerAlejandro <[email protected]>2024-07-28 20:49:59 -0600
commit11487f11efbacccdbbd538a7f2625838cc943a30 (patch)
treee9ee1851029043c6ab5ffe5cd7c8ef22f595be0d /README.md
parent9ccf45819c9f3bbb1e60ffbed49d03fcd8011f1a (diff)
added: documentation for creating a file and moved hugos documentation site to the bottom
Diffstat (limited to 'README.md')
-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/)