f59b3ab06Fix typo in template lookup order1e5536d6cMutlilingual: Document "content directory per language" system (#509)849a86048Update index.md0c24d229bPolish Hugo Nexta4c9b0ee2Polishbbec2c76eSome more in birthday postfc9681e21More on contributors09fe3ea31Some more on the birthday post8da357240Content and images for the 5th birthday blog postfb45bb8dcAdd draft for anniversary blog post4666d0a18Release 0.42.29b74d286aMerge branch 'temp422'354e7b66breleaser: Add release notes to /docs for release of 0.42.257a617f34releaser: Bump versions for release of 0.42.2ccc3ac1b8Update errorf.md35706c21aUpdate errorf.md1c0f35fd1Update errorf.mdb6170774bAdd syntax highlighting gallery links for Chromaf91d9da47Update usage.mdc9a8f0190Improve theme components documentation3c4e39dddRelease 0.42.1b45eb453fMerge branch 'temp421'c74682a10releaser: Prepare repository for 0.43-DEV321e07fa5releaser: Add release notes to /docs for release of 0.42.17154271e0releaser: Bump versions for release of 0.42.1360d8244fAdd link to Privacy Config1f2454247Fix typoa8f5f994eFix typod9f3f078cUpdate simple variants documentation (#500)f5cfd44e0Release 0.42fe604b321releaser: Prepare repository for 0.43-DEVc3e5b3ca0releaser: Add release notes to /docs for release of 0.423174d1b37releaser: Bump versions for release of 0.4248cc2d51fdocs: Update theme documentation1922fb1a6docs: Remove some files now movedd7e4c453aMerge commit 'b239595af5a9fc1fc9a1ccc666c3ab06ccc32f04'c40964c1btplimpl: Remove speakerdeck shortcode081f8a0f9tpl/strings: strings.RuneCount828ea5f15tpl: Add strings.Repeata6b9f654aAdd a BlackFriday option for rel="noreferrer" on external linksedb786516Add a BlackFriday option for rel="nofollow" on external linkse4374971freleaser: Prepare repository for 0.42-DEV git-subtree-dir: docs git-subtree-split:f59b3ab06f
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 these 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 examples, try to find short snippets that teaches people about the concept. If the example is also useful as-is (copy and paste), then great, but 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 an 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 is 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