4c1309cdfFix broken link to front matter page (#1923)8181fff20Add footnote to Quick Start guide for Win users (#1922)4fd934f61Fix abslangurl.md (#1919)bf2c45617Quick start guide: fix broken links (#1915)201b568dfUpdate theme874db199dHide the news stripe on front page for nowaaf59e3e2netlify: Hugo 0.107.079654c301Merge branch 'tempv107'8345e0347docs: Regen docs helperb5b4f15f9Add assets directory to directory structure diagram (#1917)76dd3a82aFollow-up: improve function signatures (#1914) (#1916)656dc72baImproving function signatures (#1914)b715e8407Explain how to create multilingual content (#1912)8500ee417Fix typo in Quick Start guidece60bb572Add docu for undocumented functions (#1907)372bf5e88Improve Quick Start tutorial71e81ec5fRemove asciicast from site1e56c653fUpdate hosting-on-cloudflare-pages.md (#1903)1686f60b1Adding documentation page for function 'strings.FirstUpper' (#1901)d533f7c9cFixing typos (#1900)2563eee45Update multilingual.md (#1899)2173ed799Update theme5591b8875Update urls.md (#1897)4a88890b5netlify: Hugo 0.106.0512879fdddocs: Regen CLI docsf74b1d87ddocs: Regenerate docs helper9feacb48fMerge commit '00c4484c7092181729f6f470805bc7d72e8ad17b' git-subtree-dir: docs git-subtree-split:4c1309cdfe
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 codebase 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