392668f4fUpdate theme65d82c845fix versions in GitHub Pages docs (#1815)4e078a306Create hosting-on-azure-static-web-apps.md (#1738)e24e25052fix requirement typo (#1814)0790eb173fix broken link (#1813)f4a1b38c7📄 Add more clarity on merging of config files (#1493)2e82efff0Install on Windows: Correct + augment (#1520)4bffd076eUpdate frontends to add CloudCannon's CMS (#1509)17eea3133Update index.md to add resource (#1508)5a5ac1d2fAdd documentation for babel sourceMap (#1492)899b7117cUpdate menu-templates.md284dc4266Include flexible translation in i18n.mdf03421274docs: Escaping Hugo/GO template code4f0755683Improve the documentation of imageConfig and the image resource89aa723ccClarify leaf bundle explanation and related FAQ0c6b32bb9Update starter-kits.mda68151b1bUpdate starter-kits.md91b145384Update starter-kits.mdc8104b422Update hosting-on-21yunbox.md51ee7603bUpdate hosting-on-21yunbox.mdd88314499docs(en): add hosting on 21YunBoxaab04f269Update shortcode-templates.md to correct an error.ed48563aaMisc improvements87dd24e1dFix merge failure0bcc6dca8js.Build: Update docs to not allow boolean inputs for sourceMape50a28fbcjs.Build: Add SourceMap flag into js.Build opts which can turn on sourcemap9695093a1Fix Arch Linux installation command3de773d7aPlease remove hugo-elasticsearch plugin.6510f0a5arelease: Add some more ignore expressions to release notes configdc90b7517typoe > typo (!)3427c7436Add hugoreleaser config5a1f2d0ddImproves formatting of resources, assets sections (#1804)03ba56fddRemove Flesland Flis from Showcases9f61dac7aUpdate slice.md533e4e0cdUpdate theme85e50325cSimplify writing9b30e81b9Typo fix and remove passive form8974b6c53dynamic-menu-configuration1c5467329netlify: Hugo 0.102.3610a937b0Remove Over from Showcase99f5585bcnetlify: Hugo v0.102.29f230ac1fnetlify: Hugo v0.102.1a6fc3f864netlify: Bump to Hugo v0.102.03e9bc1a62Merge branch 'tempv0.102.0'c08d6d898Update en/templates/404.md with Firebase Hosting (#1796)322b75f40Update configuration.md2fa6f0b94404 template example: remove slash relURL arg1195f168aRemove broken link (#1767)e0838e574Update RenderString.mdbee6adf71Update page-resources.md24e142f22Remove duplicate word from cascade description879fc3983docs: Update the description of PostCSS config2ffe539e3fix: Use `=` instead of `:=` for variable reassignments (#1771)7496b8f87update 404 error for digitalocean docsc85caca4aMerge commit 'bdf935d66c1f02dfc942a30e9fc00519bba3aacb'c3888b63adocs: Regen docshelper8a5942555Merge commit '475f87f685439de0f907a9ffc29bfd1361eb1c59'282007217common: Add hugo.GoVersion00b4b46daresources/page: Add :slugorfilename attribute git-subtree-dir: docs git-subtree-split:392668f4f4
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