summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.7hugoreleaser7 days
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.7v0.146.7hugoreleaser7 days
| | | | [ci skip]
* Revert the breaking change from 0.146.0 with dots in content filenamesBjørn Erik Pedersen7 days
| | | | Closes #13632
* tpl: Fix indeterminate template lookup with templates with and without langBjørn Erik Pedersen7 days
| | | | Close #13636
* parser/metadecoders: Add CSV targetType (map or slice) option to ↵Joe Mooring8 days
| | | | | transform.Unmarshal Closes #8859
* build(deps): bump github.com/yuin/goldmark-emoji from 1.0.5 to 1.0.6dependabot[bot]9 days
| | | | | | | | | | | | | | | Bumps [github.com/yuin/goldmark-emoji](https://github.com/yuin/goldmark-emoji) from 1.0.5 to 1.0.6. - [Release notes](https://github.com/yuin/goldmark-emoji/releases) - [Commits](https://github.com/yuin/goldmark-emoji/compare/v1.0.5...v1.0.6) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark-emoji dependency-version: 1.0.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump github.com/bep/imagemeta from 0.11.0 to 0.12.0dependabot[bot]9 days
| | | | | | | | | | | | | | | Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta) from 0.11.0 to 0.12.0. - [Release notes](https://github.com/bep/imagemeta/releases) - [Commits](https://github.com/bep/imagemeta/compare/v0.11.0...v0.12.0) --- updated-dependencies: - dependency-name: github.com/bep/imagemeta dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* tpl/collections: Fix where ... not in with empty sliceBjørn Erik Pedersen9 days
| | | | Fixes #13621
* tpl: Fix layout fall back logic when layout is set in front matter but not foundBjørn Erik Pedersen9 days
| | | | Fixes #13630
* tpl: Detect and fail on infinite template recursionBjørn Erik Pedersen9 days
| | | | Fixes #13627
* build(deps): bump github.com/yuin/goldmark from 1.7.9 to 1.7.10dependabot[bot]9 days
| | | | | | | | | | | | | | | Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.9 to 1.7.10. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.7.9...v1.7.10) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark dependency-version: 1.7.10 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.6hugoreleaser10 days
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.6v0.146.6hugoreleaser10 days
| | | | [ci skip]
* tpl: Fix when layout specified in front matter and no match is foundBjørn Erik Pedersen10 days
| | | | Fixes #13628
* Update watchtestscripts.shbroughtupsy14 days
|
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.5hugoreleaser2025-04-15
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.5v0.146.5hugoreleaser2025-04-15
| | | | [ci skip]
* build(deps): bump github.com/yuin/goldmark from 1.7.8 to 1.7.9dependabot[bot]2025-04-15
| | | | | | | | | | | | | | | Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.8 to 1.7.9. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.7.8...v1.7.9) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark dependency-version: 1.7.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* tpl: Fix language handling in partialsBjørn Erik Pedersen2025-04-15
| | | | | | We now use the same code path for all templates re this. Fixes #13612
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.4hugoreleaser2025-04-14
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.4v0.146.4hugoreleaser2025-04-14
| | | | [ci skip]
* tpl: Fix issue with partials without suffixBjørn Erik Pedersen2025-04-14
| | | | Fixes #13601
* tpl: Avoid panic on nonsensical return constructBjørn Erik Pedersen2025-04-14
| | | | Fixes #13600
* tpl: Fix the case for a shortcode in a nested folder onlyBjørn Erik Pedersen2025-04-14
| | | | Fixes #13605
* tpl: Add proper file context to template parse errorsBjørn Erik Pedersen2025-04-14
| | | | Fixes #13604
* tpl: Make {{ template "partials/foo.html" . }} work in older setupsBjørn Erik Pedersen2025-04-14
| | | | Fixes #13599
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.3hugoreleaser2025-04-12
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.3v0.146.3hugoreleaser2025-04-12
| | | | [ci skip]
* tpl: Make any layout set in front matter higher priorityBjørn Erik Pedersen2025-04-12
| | | | Fixes #13541
* tpl: Fix it so embedded render-codeblock-goat is used even if custom ↵Bjørn Erik Pedersen2025-04-12
| | | | | | render-codeblock exists Fixes #13595
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.2hugoreleaser2025-04-11
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.2v0.146.2hugoreleaser2025-04-11
| | | | [ci skip]
* tpl: Fix codeblock hook resolve issueBjørn Erik Pedersen2025-04-11
| | | | Fixes #13593
* tpl: Fix legacy section mappingsBjørn Erik Pedersen2025-04-11
| | | | Fixes #13584
* tpl: Resolve layouts/all.html for all html output formatsBjørn Erik Pedersen2025-04-11
| | | | Fixes #13587
* tpl: Fix some baseof lookup issuesBjørn Erik Pedersen2025-04-11
| | | | | | | We were mistakingly using the templates (e.g. list.html) descriptor to resolve the base template and not the page, which worked fine in most cases, but not all. Fixes #13583
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.1hugoreleaser2025-04-10
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.1v0.146.1hugoreleaser2025-04-10
| | | | [ci skip]
* tpl: Skip dot and temp files inside /layoutsBjørn Erik Pedersen2025-04-10
| | | | Fixes #13579
* releaser: Prepare repository for 0.147.0-DEVrelease-0.146.0hugoreleaser2025-04-10
| | | | [ci skip]
* releaser: Bump versions for release of 0.146.0v0.146.0hugoreleaser2025-04-10
| | | | [ci skip]
* tpl: Warn and skip non-hook templates inside /layouts/_markupBjørn Erik Pedersen2025-04-10
| | | | Fixes #13577
* Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'Bjørn Erik Pedersen2025-04-10
|\
| * Squashed 'docs/' changes from d1a251933..dc7a9ae12Bjørn Erik Pedersen2025-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc7a9ae12 content: Update JS options 07d3d8803 npm: Use tilde ranges for versions e06362a13 Minor grammar fixes c42db0838 content: Algolia DocSearch clarification d67412b82 deps: Upgrade to TailwindCSS 4.1.0 da1fb12d3 theme: Update Lato font path for images.Text example 140fa3bb9 Update introduction.md 7b1fcca27 content: Fix links to embedded template source 908a55532 theme: Improve dark mode syntax highlighting background d830e5962 Update XxHash.md 807be5dbf Update Defer.md 4b56693f6 content: Update GitHub Pages sample workflow 57b766fba Update TailwindCSS.md 64982ab6a Update TailwindCSS.md 1b6e879c6 Update TailwindCSS.md e67cbcdd2 content: Add caching to the GitHub Pages workflow example b7ca3b07c Update index.md 14e1a3977 Update XxHash.md 980f344ae Update XxHash.md 6b815f03e theme: Remove aria-label attribute from links 1c00bbc45 theme: Update npm dependencies 533149bf9 theme: Include section pages in related content 2b6bda6bd content: Fix typos 92ce95cbb content: Miscellaneous edits f12936681 theme: Add a simple LRU cache for search 339ca3388 Fix the previous broken commit 8537e59e0 Make it into a non-link e13f17d29 Add Algolia logo/link to the search listing dialog d3e09e886 content: Fix typo 7217f64b6 content: Miscellaneous edits 51aa1ae73 content: Improve some examples 8ebaa53f9 theme: Adjust shortcodes 898870438 theme: Hide anchor until mouse-over c933ea237 content: More front matter cleanup f26ca047a content: Miscellaneous edits e272b2039 theme: Fix inline partial refs c540e6d29 content: Replace note shortcode calls with blockquote alerts aef899bc5 theme: Add title and QR code when printing bd46ef626 theme: Implement blockquote render hook ddefbefaa content: Improve contributing page f41d28ee1 content: Adjust usage of whitespace removal with action delimiters 03315336d theme: Use full title in related content sidebar 4f4076364 misc: Document the front matter fields used on this site 2f78d7632 misc: Fix gitignore file 7de6dbab3 content: Fix front matter for several function pages 5d3542ea6 config: Disable tags taxonomy 68bc28d67 content: Add linkTitle to shortcode pages 5f32c92ed theme: Restore deduplication logic for related items a943a4bb8 theme: Implement related content tooling fd628be6e content: Replace calls to the code shortcode with fenced code blocks b23c9a583 content: Fix position of new-in badges ec056f251 content: Fix typo 245351c84 theme: Adjust spacing in highlighting theme examples 2fcd21ee5 content: Remove "related" array from function and method pages 71d8426ee theme: Create code block render hook 4cdde6649 theme: Adjust number of news items to display 34ab45261 content: Miscellaneous edits b6cae5cbc content: Consolidate configuration documentation 727ef6f66 theme: Fix overflow issue for wide tables c4f759e01 Add es2024 93cce62c8 Update support list of more recent targets with js.Build / esbuild 974d0655f Update hosting-on-codeberg.md b3f0ed9ce content: Add hosting instructions for Codeberg Pages 8217c0900 content: Correct the SourceHut repository URL a8cf3d28f content: Add hosting instructions for SourceHut Pages 8c059cbe1 theme: Use content adapter for news section 03938c600 Remove some old new-in 5c50a75e8 content: Fix typo 5cf89f2f6 theme: Re-enable banner gtag outbound link tracking 3c555d5f8 One more copy button 94bce999a Add some copy buttons 9e1cc0c2b Update PortableText.md dd26ac49f Document transform.PortableText 5f632ab32 netlify: Hugo 0.145.0 59e057bb4 Update index.md d07e07d6c Remove some unused home page front matter d482657b7 Add footnote about alias to the build front matter key f0629b77c content: Fix typo d91c4cccf theme: Fix news items URLs ca931cd1f theme: Restore RSS feed for news section e6b870bc9 theme: Adjust copy-to-clipboard button 071851431 Update netlify.toml e68431034 theme: Format layouts aa3cd839a theme: Format assets 22ad3eee3 theme: Add some more space on the right for copy buttons f4a19083a netlify: Hugo 0.144.1 974cb8795 theme: Remove Internet Explorer configs (#2929) 4a23a1f41 content: Fix typos d49f15d03 theme: Get the scrollspy back working 720c7ff67 config: Evict getresource cache hourly 1f62ca97e theme: Hide the Turbo progress bar f6449ace3 Move the dark class up to the html element 074cd1a07 content: Miscellaneous edits e098a7716 content: Miscellaneous edits 8e1e104aa content: Updates for v0.144.0 18e1aa916 theme: Add anchor links via JS ac3b5505c Close new-in bfa4db6b8 netlify: Hugo 0.144.0 fd6e7feee Regen CLI docs da9d1218a Regen docs helper 5de494ded Merge branch 'tempv0.144.0' f683e6469 theme: Minor improvements to base template ef8bf89d8 resources/page: Revise the new contentbasename permalinks tokens 901adb07b resources/page: Add :contentbasename and :contentbasenameorslug permalink tokens 0fca8ef25 all: Change shortcode usage and design to prevent invalid HTML c41d76613 Update RegularPagesRecursive.md e93574748 content: Correct return type for strings.Split 3d504abba Revert "content: Add ids to the Netlify steps" c08c8e15e content: Add ids to the Netlify steps 5a3b470a2 theme: "move" the id from content to article b878613aa theme: Add page kind as a CSS class to body 269657e8f content: Fix formatting error 664f6c92f config: Change image cache location fa6b719b1 theme: Reduce ToC to level 2-4 bc16341ca theme: Render mathematical markup with transform.ToMath 14bf9dc70 theme: Add aria-label attribute to search fields ed42af5b3 theme: Adjust search field and search activation f042e4970 dev: Add prettier-plugin-void-html f6ec83533 content: Fix inline shortcode example 0a74210e2 theme: Remove readfile shortcode 334ca06ac theme: Fix some dark mode accessibility as reported by Axe core 02626ff92 theme: aria-lbabel => aria-label 227b76ab7 Add Prettier and config 43ab22428 content: Bump minimum required Go version to 1.23.0 03e54683f modules: Add GOAUTH to module config 9f06a3b9c js/esbuild: Add drop option ddcd99369 Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a' 733731253 helpers: Add Chroma styles to docs.yaml git-subtree-dir: docs git-subtree-split: dc7a9ae127717cde17840496cb0287f481c5f0ee
* | tpl: Add a partial lookup cacheBjørn Erik Pedersen2025-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```` │ stash.bench │ perf-v146.bench │ │ sec/op │ sec/op vs base │ LookupPartial-10 248.00n ± 0% 14.75n ± 2% -94.05% (p=0.002 n=6) │ stash.bench │ perf-v146.bench │ │ B/op │ B/op vs base │ LookupPartial-10 48.00 ± 0% 0.00 ± 0% -100.00% (p=0.002 n=6) │ stash.bench │ perf-v146.bench │ │ allocs/op │ allocs/op vs base │ LookupPartial-10 3.000 ± 0% 0.000 ± 0% -100.00% (p=0.002 n=6) ``` THe speedup above assumes reuse of the same partials over and over again, which I think is not uncommon. This commits also adds some more lookup benchmarks. The current output of these on my MacBook looks decent: ``` BenchmarkLookupPagesLayout/Single_root-10 3031562 395.5 ns/op 0 B/op 0 allocs/op BenchmarkLookupPagesLayout/Single_sub_folder-10 2515915 480.9 ns/op 0 B/op 0 allocs/op BenchmarkLookupPartial-10 84808112 14.13 ns/op 0 B/op 0 allocs/op BenchmarkLookupShortcode/toplevelpage-10 8111779 148.2 ns/op 0 B/op 0 allocs/op BenchmarkLookupShortcode/nestedpage-10 8088183 148.6 ns/op 0 B/op 0 allocs/op ``` Note that in the above the partial lookups are cahced, the others not (they are harder to cache because of the page path). Closes #13571
* | build(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0dependabot[bot]2025-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/fsnotify/fsnotify/releases) - [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md) - [Commits](https://github.com/fsnotify/fsnotify/compare/v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: github.com/fsnotify/fsnotify dependency-version: 1.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | build(deps): bump golang.org/x/tools from 0.31.0 to 0.32.0dependabot[bot]2025-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.31.0 to 0.32.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.31.0...v0.32.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-version: 0.32.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | build(deps): bump github.com/evanw/esbuild from 0.25.1 to 0.25.2dependabot[bot]2025-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.25.1 to 0.25.2. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.25.1...v0.25.2) --- updated-dependencies: - dependency-name: github.com/evanw/esbuild dependency-version: 0.25.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | tpl: Add templates.CurrentBjørn Erik Pedersen2025-04-09
| | | | | | | | | | | | | | | | | | | | | | This commit also * Unexport all internal state in TemplateInfo. * Make the dispatcher keys used for passing context.Context into uint8 from string to save memory allocations. Co-authored-by: Joe Mooring <joe@mooring.com> Updates #13571
* | build(deps): bump golang.org/x/image from 0.25.0 to 0.26.0dependabot[bot]2025-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [golang.org/x/image](https://github.com/golang/image) from 0.25.0 to 0.26.0. - [Commits](https://github.com/golang/image/compare/v0.25.0...v0.26.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-version: 0.26.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>