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.
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
* 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.0
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)
Joe Mooring [Sun, 30 Mar 2025 19:31:12 +0000 (12:31 -0700)]
commands/new: Improve theme creation
- Update the skeleton structure to match the new template system.
- Add a --format flag to the `hugo new theme` command to control the
format of the site configuration and default archetype files.
- Remove theme.toml. This file's presence can be confusing for new
users, and the README in the themes repository already has an example.
- Remove the LICENSE and README files from the skeleton. These files
are not needed for a theme to work, and they can be added later by
the user if desired.
khayyam [Fri, 14 Mar 2025 13:37:26 +0000 (09:37 -0400)]
cache: Apply httpcache defaults for polling config
Previously, compiling the config with partial or missing poll configs
would introduce a panic. This ensures that the default poll configs
are applied in such scenarios to ensure config is valid.
dependabot[bot] [Thu, 13 Mar 2025 08:22:13 +0000 (08:22 +0000)]
build(deps): bump golang.org/x/image from 0.24.0 to 0.25.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/image/compare/v0.24.0...v0.25.0)
Christian Oliff [Wed, 26 Feb 2025 08:27:31 +0000 (17:27 +0900)]
tpl: HTTPS the instagram Shortcode JS
This JavaScript will always load over HTTPS so it's best to specify that. Protocol-less loaded resources are an anti-pattern (REF: https://www.paulirish.com/2010/the-protocol-relative-url/)
dependabot[bot] [Mon, 17 Feb 2025 08:40:47 +0000 (08:40 +0000)]
build(deps): bump github.com/sanity-io/litter from 1.5.7 to 1.5.8
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.7 to 1.5.8.
- [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sanity-io/litter/compare/v1.5.7...v1.5.8)
resources/page: Revise the new contentbasename permalinks tokens
* Make it work for all pages, including those created from content adapters and not backed by a file.
* Allow the `slug` to win, so the new tokens are:
`:contentbasename`:
1. ContentBaseName
`:slugorcontentbasename`:
1. Slug
2. ContentBaseName
Note that a page will always have a `ContentBaseName`, so no need to fall back to e.g. the title.
dependabot[bot] [Fri, 14 Feb 2025 08:47:21 +0000 (08:47 +0000)]
build(deps): bump github.com/sanity-io/litter from 1.5.5 to 1.5.7
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.5 to 1.5.7.
- [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sanity-io/litter/compare/v1.5.5...v1.5.7)
Joe Mooring [Thu, 13 Feb 2025 15:30:14 +0000 (07:30 -0800)]
Update README.md
- Include section about editions
- Bump minimum required Go version for building from source
- Include instructions for building the extended/deploy edition
- Update dependency list
d1a251933 theme: Optimize for printing d906488d5 theme: Add border to highlighted code blocks within list items 9630c38cb theme: Display short command on commands list 7f81dd997 content: Regen commands markup a84008e99 content: Cleanup primary list page 0874b03e9 content: Publish QR code examples to the images/qr directory ef1ce3498 Restore static/img 489a68458 content: Restore KeyCDN screen captures 7d6e6184b theme: Move search button in navbar to the right on smaller screens b03b96082 theme: Misc style adjustments ecad97821 theme: Misc fixes cf5e07b0f content: Restore example data and images c7265041f content: Reformat css.TailwindCSS setup steps 3226e668f theme: Make the search button more compact on mobile 1f6614ee8 content: Update css.TailwindCSS example 49a2e7d71 theme: Improve search output 7e6b81ffa misc: Create issue template 826740223 theme: Misc search improvements 75f32b2f6 theme: Remove the search alert fd3de4ac2 config: Enable link render hook warnings 769e387cd Adjust logic to mark current section for Algolia ba73ce646 Adjust markup to make it easier to match in Algolia 5accec5f1 Misc adjustments eb5842566 Some content adjustments bdf97b7b4 Add new theme b19d68ee5 Remove old theme a04e96e55 Rewrite the css.TailwindCSS page 1c46f1864 Update deprecation notes aedcb444c Fix typo c3290b876 Changes related to release of v0.144.0 a0012fcce netlify: Hugo 0.143.1 9e4d73e87 Include sections in quick-reference page collection 4591058f5 Miscellaneous edits 612b8528f glossary: More edits 1f0c54e60 Fit typo 6f14084c1 Move glossary to quick reference section 2d94905be Improve branch bundle admonition 2ea56bef3 Fix typos found with codespell 71c5fe951 Close shortcode e95d06592 Document the responseHeaders option for resources.GetRemote da7c12aaa Deprecate gist shortcode c2d3e2c25 netlify: Bump to 0.143.0 367d3a7ab Improve new-in shortcode 1a7413a16 Clean up shortcode documentation d847892aa Improve glossary 6a7fd42ff Update pages describing Store methods and functions fa7643d1b Revert "Improve link render hook performance" fe4c86ec4 Reformat MathJax example cea44922a Update MathJax example to use safe mode 0b6d0292c Update KaTeX example to use latest version fd4508645 Improve link render hook performance 23aeb5bd0 Update purgecss example f7ef83e56 Refer each Hugo Pipe page to the corresponding function 81b91ef4e Remove related pages from pages for deprecated functions and methods 53c7627d5 Remove body from deprecated functions and methods d9cf034c8 Consolidate css.ToCSS information b7ed108f9 Improve js.Build example and presentation of options 86a4a5088 Improve babel example and description of options d1874c5f5 Consistently use "edition" when referring to standard, extended, etc. 92f03a350 Revise description of privacy settings 152a92d80 Update Last.md 82a2365bd Add print-only QR code example d22cadc25 Update mathematics.md b8160af03 Delete page self-reference in page/type.md ce24fe4e0 Update param.md 51cb92180 Improve description of output format template selection 78bcf358e Update Tailwind CSS npm package version to 4.0 2ca9da4af Include winget command to uninstall