summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-06-24releaser: Add release notes to /docs for release of 0.84.1v0.84.1hugoreleaser
[ci skip]
2021-06-24releaser: Bump versions for release of 0.84.1hugoreleaser
[ci skip]
2021-06-24releaser: Add release notes for 0.84.1hugoreleaser
[ci skip]
2021-06-24Fix language menu config regressionBjørn Erik Pedersen
Fixes #8672
2021-06-22config: Fix merge of config with map[string]string values.Bjørn Erik Pedersen
Fixes #8679
2021-06-21releaser: Bump to Goreleaser v0.171.0Bjørn Erik Pedersen
Closes #8665
2021-06-19markup: Rename Header(s) to Heading(s) in ToC structBjørn Erik Pedersen
Because that is what it is.
2021-06-18Merge commit '4dd90050f154c91373329a5d7e348289c40be12f'Bjørn Erik Pedersen
2021-06-18Squashed 'docs/' changes from 3a923e155..710856e5aBjørn Erik Pedersen
710856e5a Release 0.84.0 362f4ea7b releaser: Add release notes to /docs for release of 0.84.0 6bb8800f7 docs: Regenerate docs helper 00a522e6a docs: Regenerate docshelper bc171954b Merge commit '92405e5b0adc5d8c3dfde88d6a8b67eb09169190' ef73ffc3b Misc config loading fixes 0b4117f7f docs: Regenerate docs helper 9b9452b9c Merge commit '32ba623541d74ee0b7ae4efb1b8326dc49af28b8' 9c4413dd9 tpl/fmt: Add erroridf template func e1875742e tpl/data: Misc header improvements, tests, allow multiple headers of same key e4560893c Add math.Max and math.Min 7dc282eaf common/maps: Add Scratch.DeleteInMap b9cd77171 docs: Update querify function description and examples git-subtree-dir: docs git-subtree-split: 710856e5a6c683ce26d385960423303cc109c09e
2021-06-18releaser: Prepare repository for 0.85.0-DEVhugoreleaser
[ci skip]
2021-06-18releaser: Add release notes to /docs for release of 0.84.0v0.84.0hugoreleaser
[ci skip]
2021-06-18releaser: Bump versions for release of 0.84.0hugoreleaser
[ci skip]
2021-06-18releaser: Increase timeoutBjørn Erik Pedersen
2021-06-18releaser: Add release notes for 0.84.0hugoreleaser
2021-06-18docs: Regenerate docs helperBjørn Erik Pedersen
2021-06-18output: Make WebAppManifestFormat NotAlternative=trueBjørn Erik Pedersen
Updates #8624
2021-06-18media: Adjust test assertionBjørn Erik Pedersen
Closes #8625
2021-06-18media: support application/manifest+jsonRohan Kumar
The standard file extension for Web App Manifest files is ".webmanifest". This commit allows Hugo to recognize .webmanifest files as "application/manifest+json" files and to minify them using its JSON minifier. The .webmanifest file extension is recommended in the w3c spec to simplify media type registration: https://www.w3.org/TR/appmanifest/#media-type-registration Webhint docs are also relevant: https://webhint.io/docs/user-guide/hints/hint-manifest-file-extension/ Closes #8624
2021-06-18docs: Regenerate docshelperBjørn Erik Pedersen
2021-06-18Squashed 'docs/' changes from 4c81c6c2a..3a923e155Bjørn Erik Pedersen
3a923e155 Update configuration.md git-subtree-dir: docs git-subtree-split: 3a923e15502520d1c4aa0481bcc528b2831d4c81
2021-06-18Merge commit '92405e5b0adc5d8c3dfde88d6a8b67eb09169190'Bjørn Erik Pedersen
2021-06-18Implement configuration in a directory for modulesBjørn Erik Pedersen
Fixes #8654
2021-06-18tpl: Rename err-missing-instagram-accesstoken => ↵Bjørn Erik Pedersen
error-missing-instagram-accesstoken To get it in line with the other.
2021-06-18deps: Update github.com/alecthomas/chroma v0.9.1 => v0.9.2Bjørn Erik Pedersen
Closes #8658
2021-06-18deps: Run go mod tidyBjørn Erik Pedersen
2021-06-18Split out the puthe path/filepath functions into common/pathsBjørn Erik Pedersen
So they can be used from the config package without cyclic troubles. Updates #8654
2021-06-17resources/image: Fix fill with smartcrop sometimes returning 0 bytes imagesBjørn Erik Pedersen
Fixes #7955
2021-06-17deps: Update to Goldmark v1.3.8Joe Mooring
Fixes #8648
2021-06-16Do not read config from os.Environ when running testsBjørn Erik Pedersen
Fixes #8655
2021-06-14Misc config loading fixesBjørn Erik Pedersen
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster: ``` BenchmarkDefaultConfigProvider/Viper-16 252418 4546 ns/op 2720 B/op 30 allocs/op BenchmarkDefaultConfigProvider/Custom-16 450756 2651 ns/op 1008 B/op 6 allocs/op ``` Fixes #8633 Fixes #8618 Fixes #8630 Updates #8591 Closes #6680 Closes #5192
2021-06-13github: Set a dummy Instagram tokenBjørn Erik Pedersen
For now, need to debug why this fails.
2021-06-08docs: Regenerate docs helperBjørn Erik Pedersen
2021-06-08Merge commit '32ba623541d74ee0b7ae4efb1b8326dc49af28b8'Bjørn Erik Pedersen
2021-06-08Squashed 'docs/' changes from bcc4f9324..4c81c6c2aBjørn Erik Pedersen
4c81c6c2a live reload: add section about `--navigateToChanged` 271014257 Update netify hugo version to 0.83.1 14199cff1 Add pull_request event 0c33b05de Hosting on GitHub: Little wording fixes and update Ubuntu runner in example workflow to 20.04 (#1457) e47b6c33a Hugo Modules plural typo (#1266) 0f2bbacdd Add node_modules to .gitignore 1d645d79f Overhaul scratch.md (#1451) 572766889 Add link to golang regex syntax, change modified date 21b0c7459 Add info about contentType config de7d96fa2 Document Go template's multiline support 0c8f2dcb1 Avoid scratch usage 696fa92e1 Rename scratch var 44193f267 Update usage instructions 4230f8fa5 Rename and refactor shortcode e9953751e Strip leading whitespaces d61a58010 Add `insertpages` shortcode 04d30677d Mention WebP under 'Target Format' (#1431) 946784508 Update lookup-order.md (#1443) a7b587988 Update index.md 27907f7ea netlify: Hugo 0.83.1 044d37e57 Merge branch 'tempv0.83.1' b81aedb03 Fix page `.Kind` fcf7775ad releaser: Add release notes to /docs for release of 0.83.1 9b39c77c8 fix typo in 0.83 release notes 1c38993ce Update index.md 45b8aefa6 Update index.md 43902dfaa Update index.md 3d959c7ae Merge branch 'tempv0.83.0' 6c22dc327 Fix URL 497ea3224 Use Hugo version badge shortcode a182d10dd releaser: Add release notes to /docs for release of 0.83.0 287fd9ac0 docs: Fix shortcode e789c879a docs: Regenerate docs helper 1666c7f31 docs: Regenerate CLI docs 117de1d12 Merge commit 'c239c643fee10bfa217cb108755b798f8f5f3b10' a6bf3f7d9 docs: Regen docs helper git-subtree-dir: docs git-subtree-split: 4c81c6c2ace6c23d0d5d24ee37e6a2f30acba01e
2021-06-08Update to Go 1.16.5, Goreleaser 0.169.0Bjørn Erik Pedersen
Fixes #8619 Fixes #8263
2021-06-08tpl: Add a terse pagination template variant to improve performanceJoe Mooring
These calls are equivalent: {{ template "_internal/pagination.html" . }} {{ template "_internal/pagination.html" (dict "page" .) }} {{ template "_internal/pagination.html" (dict "page" . "format" "default") }} To use an alternate format: {{ template "_internal/pagination.html" (dict "page" . "format" "terse") }} Fixes #8599
2021-06-08Upgrade Instagram shortcodeBjørn Erik Pedersen
Fixes #7879
2021-06-08Fix nested OS env config override when parent does not existBjørn Erik Pedersen
Fixes #8618
2021-06-07tpl/fmt: Add erroridf template funcBjørn Erik Pedersen
Fixes #8613
2021-06-07tpl/data: Print response body on HTTP errorsBjørn Erik Pedersen
Which makes it easier to debug.
2021-06-06tpl/data: Misc header improvements, tests, allow multiple headers of same keyBjørn Erik Pedersen
Closes #5617
2021-06-06tpl/data: Allows user-defined HTTP headers with getJSON and getCSVPaul Chamberlain
Updates #5617
2021-06-05hugofs: Set modTime at creation timeBjørn Erik Pedersen
As `ModTime()` should return the same value on each invocation. See #6161
2021-06-04Fix invalid timestamp of the "public" folderAnthony Fok
Special thanks to both Richard Mortimer (@oldelvet) and Joshua M. Clulow (@jclulow) for their analysis and suggested fix: * https://github.com/gohugoio/hugo/issues/6161#issuecomment-574336088 * https://github.com/gohugoio/hugo/issues/6161#issuecomment-596805273 Fixes #6161
2021-05-30config: Fix env split to allow = character in values卜木
Fixes #8589
2021-05-28Add math.Max and math.MinJoe Mooring
Closes #8583
2021-05-24Catch incomplete shortcode errorsatotake
Currently, no name shortcodes (`{{< >}}`) enter unexpected branch and throw `BUG: template info not set`. This patch checks if shortcode has name or not earlier and throws specific error. Closes #6866
2021-05-24Use SPDX license identifierJoe Mooring
See <https://spdx.org/licenses/> Fixes #8555
2021-05-23navigation: Cache and copy Menu for sortingsatotake
.Site.Menus is mutated when it is sorted for now and this causes concurrency problem (#7594) In this patch, each related sort function copies Menu before sorting to prevent race condition. Pages already have such a sort and cache logic and this patch is identical to it. Closes #7594
2021-05-23deps: Update to LibSASS 3.6.5Bjørn Erik Pedersen
See https://github.com/sass/libsass/releases/tag/3.6.5