From 11487f11efbacccdbbd538a7f2625838cc943a30 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sun, 28 Jul 2024 20:49:59 -0600 Subject: added: documentation for creating a file and moved hugos documentation site to the bottom --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.md') 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/) -- cgit v1.2.3