diff options
author | Alejandro <[email protected]> | 2024-07-28 20:49:59 -0600 |
---|---|---|
committer | Alejandro <[email protected]> | 2024-07-28 20:49:59 -0600 |
commit | 11487f11efbacccdbbd538a7f2625838cc943a30 (patch) | |
tree | e9ee1851029043c6ab5ffe5cd7c8ef22f595be0d | |
parent | 9ccf45819c9f3bbb1e60ffbed49d03fcd8011f1a (diff) |
added: documentation for creating a file and moved hugos documentation site to the bottom
-rw-r--r-- | README.md | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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/) |