3b1a8579dUpdate themeb1f04fd47params: Adjust the twitter handle2c8ba029fFix typo4421e46ecUpdate Where.md5f9fec6a5Update glossary.mdfb16945cfcollections.Where - Clarify description of "collection"4d6d7018bUpdate Include.md - improve return statement example037151073Update IncludeCached - improve return statement exampleb053fa09cImprove return typesf7d615267Describe minimum required Windows versione97762b2aUpdate front matter in math.Sub9e4d03a79Fix data.GetJSON examples9029ee123Update spellcheck GitHub Actionc852fe421Add version verification step to quick start guide8fafca49cCorrect front matter exampleb412fdf65Fix closing tag in notes docs9a64d9579Add hreflang Tag to Translation Link example2d2a82101Fix inverted examples in Permalink and RelPermalinkff3e67e3fCorrect spelling3904b72e3Fix documentation contribution steps enumeration348fd3c02Fix some typos in the content summaries pagea5823459aFix two links, one to bonsai.io and one to digital.govc36978686Fix typo0ee3ff44fVendor theme6b0a9b75dFix typo44e4cb5c6Fix typos815071742Update min Go version to build from source192d14df5Fix typoe4a18946eMiscellaneous correctionsf12b7b74enetlify: Hugo 0.121.297dbc1ea1Merge branch 'tempv0.121.2'dc1c0aeebAdd cache note to resources.Concata8d1a6020Correct return typeeca22e97cFix front matter7de247a03Correct return type5058bc520collections.Seq: Specify max slice sizee24d81a4bFix typo on FAQ pageff8cf5a88Correct 'related' front matter values88b21fae0Adjust deprecation handlingf7e19a25bUpdate terminology on shortcode templates page01e10942aAdjust formatting6ed2e19c2tpl/math: Add math.Rand template functionb494a8d8dUpdate js.md6d78035f4Add interval description to glossary (#2378)f9b612b64Templates Lookup Order: Add missing parenthesis741ab1bb2Show vendorClosest in module default configeb8cb878fFix Babel headingscdcdfc8e8Change project name in Codeowners examplef31fe0d63Update link to image filters9dee1ee0eUpdate Solus installation instructions716636feeAdd TOC to collections.Sortf7c64143cUpdate collections.Sort4b8f6b991Add id attributes to Scratch and Store methods2a1adea79Add id attributes to GitInfo, File, and Resources methodsb12d9cb8fAdd Alpine Linux installation instructionsdfbebeec7Change writeStats to buildStats175b8aac8resources/images: Create AutoOrient image filterba8e05c31Update img shortcode7fc15a6ccFix default value of pluralizeListTitlesa0be4fd8aAdd Comentario to available comment engines71aa7d8abUpdate GitInfo.md348441491EXIF: describe applicable image types743497edaDisable TOC for lang.Translateb3b1df75dDescribe lang.Translate fallback behaviora6d9c362cCategorize CLI commands to improve search results08cc2da4bDocument canonical config for enabling inline shortcodes8945be9c6Update description of the humanize ordinal conversionb8b4ccb6fFix grammatical errorf53f9f936Fix description of strings.HasSuffixcdbe19b5bUpdate Params.mde00c4eea2Reformat site config descriptions6f50c0755Enumerate root configuration keys1f2e7b9b2Use canonical key when documenting menu configs7d5a13d8dUpdate images.Text filter315d2f8c3Add math.Counter example to warnf8ed9cdaa9Miscellaneous edits2bda491ebFix front matter example5c5bbbe3anetlify: Bump to Hugo 0.121.1ed08f5943Update Gentoo installation instructionse4eb48457Miscellaneous edits8c3700d12netlify: Bump to Hugo 0.121.01bb5a377fMerge branch 'tempv0.121.0'8cba89504Improve where function0dfc00b0fdocs: Regen docshelper028076a66Fix link to Gentoo package52d2db4ffFix typo120025c19Improve Gentooo installation instructions0c31a4b45Update GitHub hosting workflow exampledee99c36aDefend against missing aliases in quick-reference shortcoded305278f1Add Gentoo installation instructionsbe98a37e1docs: Adjust last merge from docs repositorya703dab53docs: Regen docs helper2e9c3532fMerge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'f57fdb44bdeps: Update github.com/tdewolff/minify/v2 v2.20.7 => v2.20.850cad5e38tpl/transform: Add transform.XMLEscape template function git-subtree-dir: docs git-subtree-split:3b1a8579d2
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.
Edit the theme
If you want to do docs-related theme changes, the simplest way is to have both hugoDocs and gohugoioTheme cloned as sibling directories, and then run:
HUGO_MODULE_WORKSPACE=hugo.work hugo server --ignoreVendorPaths "**"
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