4c81c6c2alive reload: add section about `--navigateToChanged`271014257Update netify hugo version to 0.83.114199cff1Add pull_request event0c33b05deHosting on GitHub: Little wording fixes and update Ubuntu runner in example workflow to 20.04 (#1457)e47b6c33aHugo Modules plural typo (#1266)0f2bbacddAdd node_modules to .gitignore1d645d79fOverhaul scratch.md (#1451)572766889Add link to golang regex syntax, change modified date21b0c7459Add info about contentType configde7d96fa2Document Go template's multiline support0c8f2dcb1Avoid scratch usage696fa92e1Rename scratch var44193f267Update usage instructions4230f8fa5Rename and refactor shortcodee9953751eStrip leading whitespacesd61a58010Add `insertpages` shortcode04d30677dMention WebP under 'Target Format' (#1431)946784508Update lookup-order.md (#1443)a7b587988Update index.md27907f7eanetlify: Hugo 0.83.1044d37e57Merge branch 'tempv0.83.1'b81aedb03Fix page `.Kind`fcf7775adreleaser: Add release notes to /docs for release of 0.83.19b39c77c8fix typo in 0.83 release notes1c38993ceUpdate index.md45b8aefa6Update index.md43902dfaaUpdate index.md3d959c7aeMerge branch 'tempv0.83.0'6c22dc327Fix URL497ea3224Use Hugo version badge shortcodea182d10ddreleaser: Add release notes to /docs for release of 0.83.0287fd9ac0docs: Fix shortcodee789c879adocs: Regenerate docs helper1666c7f31docs: Regenerate CLI docs117de1d12Merge commit 'c239c643fee10bfa217cb108755b798f8f5f3b10'a6bf3f7d9docs: Regen docs helper git-subtree-dir: docs git-subtree-split:4c81c6c2ac
Hugo Docs
Documentation site for Hugo, the very fast and flexible static site generator built with love in Go.
Contributing
We welcome contributions to Hugo of any kind including documentation, suggestions, bug reports, pull requests etc. Also check out our contribution guide. We would love to hear from you.
Note that this repository contains solely the documentation for Hugo. For contributions that aren't documentation-related please refer to the hugo repository.
Pull requests shall only contain changes to the actual documentation. However, changes on the code base of Hugo and the documentation shall be a single, atomic pull request in the hugo repository.
Spelling fixes are most welcomed, and if you want to contribute longer sections to the documentation, it would be great if you had the following criteria in mind when writing:
- Short is good. People go to the library to read novels. If there is more than one way to do a thing in Hugo, describe the current best practice (avoid "… but you can also do …" and "… in older versions of Hugo you had to …".
- For example, try to find short snippets that teaches people about the concept. If the example is also useful as-is (copy and paste), then great. Don't list long and similar examples just so people can use them on their sites.
- Hugo has users from all over the world, so easy to understand and simple English is good.
Branches
- The
masterbranch is where the site is automatically built from, and is the place to put changes relevant to the current Hugo version. - The
nextbranch is where we store changes that are related to the next Hugo release. This can be previewed here: https://next--gohugoio.netlify.com/
Build
To view the documentation site locally, you need to clone this repository:
git clone https://github.com/gohugoio/hugoDocs.git
Also note that the documentation version for a given version of Hugo can also be found in the /docs sub-folder of the Hugo source repository.
Then to view the docs in your browser, run Hugo and open up the link:
▶ hugo server
Started building sites ...
.
.
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop