summaryrefslogtreecommitdiff
path: root/README.md
blob: c9c8ef1f3895946b9cd28a2be206a7d69cbda774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Página UAQ informática

This site is built in HUGO, when making a change, run

```sh
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 (using the toml format), 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
```

## Shortcodes

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/)