e161ea09dAdd one more Chinese file to workaround reflect: Zero(nil)b595b3a21Add more Chinese translation56e4e95d9Use lang.Merge to "fill in the gaps" for untranslated pagesef079406cMerge commit '650fac3a4e7d256f4505402ab44cfc3c804b8dea'650fac3a4Squashed 'themes/gohugoioTheme/' changes from a1768ebb..f31a3dc8322eff899Add Chinese language for menusd90b886e0Fix Markdown table syntax in previous commit737f3dfcaUpdate the leaf bundle vs branch bundle table09fa1bc4eClarify that `.Now` is obsolete879ea3f6aMake release notes somewhat more consistent0113e2051Move 0.40.2-relnotes into content/en/news77578f5bfMove content/ into new contentDir content/en/4dcf7c709Fix "reflect: Zero(nil)" error in showcase63dd25505Release 0.40.22076c0d56releaser: Prepare repository for 0.41-DEV070fe565ereleaser: Add release notes to /docs for release of 0.40.24ce52e913releaser: Bump versions for release of 0.40.241907c487Fix typos in syntax-highlighting.md91753ef3dAdd missing backtickb77274301Remove duplicate release notes (0.27, 0.27.1, 0.35)6e00da316Remove obsolete content/release-notes/ directory00a6d8c02Change en dash back to `--` in 0.38.2-relnotes51b32dc00Update archetypes.mdd0e5c2307Release 0.40.14538a6d5breleaser: Prepare repository for 0.41-DEV91b391d70releaser: Add release notes to /docs for release of 0.40.1e0979d143releaser: Bump versions for release of 0.40.17983967c2Clean imagesfe3fdd77dPolish showcase for Flesland Flise6dde3989Showcase - Flesland Flis AS by Absoluttweb73aa62290Revive @spf13's special Hugo fontadd67b335Release Hugo 0.40c0a26e5a6Merge branch 'temp40'beeabaaaereleaser: Prepare repository for 0.41-DEVe67d5e985releaser: Add release notes to /docs for release of 0.406cdd95273releaser: Bump versions for release of 0.40bee21fb9bRevive the other Hugo logos too4f45e8fe1Fix the link type attribute for RSS in examples8c67dc89aFix example in delimit doce7f6c00d5Revive the logo used on the forum82b0cd26eMerge commit 'a215abf70e018f4bf40d6c09d8bd148d8684b33d'119c8ca58Merge commit 'd2ec1a06df8ab6b17ad05cb008d5701b40327d47'db4683bd2Improve .Get docs05260b886.Get function: fix syntax signature git-subtree-dir: docs git-subtree-split:e161ea09d3
Hugo Docs
Documentation site for Hugo, the very fast and flexible static site generator built with love in GoLang.
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