summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-03-20releaser: Prepare repository for 0.125.0-DEVrelease-0.124.1hugoreleaser
[ci skip]
2024-03-20releaser: Bump versions for release of 0.124.1v0.124.1hugoreleaser
[ci skip]
2024-03-20Fix potential deadlock in TranslationsBjørn Erik Pedersen
Fixes #12129
2024-03-20Fix rebuild when changing mixed case named templatesBjørn Erik Pedersen
Fixes #12165
2024-03-20testing: Set usesFMA as true for riscv64 tooAnthony Fok
This fixes TestImageOperationsGolden "values are not deep equal" error on riscv64 with Go 1.22 and above.
2024-03-19Fix regression for outputs defined in front matter for term pagesBjørn Erik Pedersen
Fixes #12275
2024-03-16releaser: Prepare repository for 0.125.0-DEVrelease-0.124.0hugoreleaser
[ci skip]
2024-03-16releaser: Bump versions for release of 0.124.0v0.124.0hugoreleaser
[ci skip]
2024-03-16docs: Regen CLI docsBjørn Erik Pedersen
2024-03-16docs: Regen docshelperBjørn Erik Pedersen
2024-03-16Add segments config + --renderSegments flagBjørn Erik Pedersen
Named segments can be defined in `hugo.toml`. * Eeach segment consists of zero or more `exclude` filters and zero or more `include` filters. * Eeach filter consists of one or more field Glob matchers. * Eeach filter in a section (`exclude` or `include`) is ORed together, each matcher in a filter is ANDed together. The current list of fields that can be filtered are: * path as defined in https://gohugo.io/methods/page/path/ * kind * lang * output (output format, e.g. html). It is recommended to put coarse grained filters (e.g. for language and output format) in the excludes section, e.g.: ```toml [segments.segment1] [[segments.segment1.excludes]] lang = "n*" [[segments.segment1.excludes]] no = "en" output = "rss" [[segments.segment1.includes]] term = "{home,term,taxonomy}" [[segments.segment1.includes]] path = "{/docs,/docs/**}" ``` By default, Hugo will render all segments, but you can enable filters by setting the `renderSegments` option or `--renderSegments` flag, e.g: ``` hugo --renderSegments segment1,segment2 ``` For segment `segment1` in the configuration above, this will: * Skip rendering of all languages matching `n*`, e.g. `no`. * Skip rendering of the output format `rss` for the `en` language. * It will render all pages of kind `home`, `term` or `taxonomy` * It will render the `/docs` section and all pages below. Fixes #10106
2024-03-16Fix .Parent when there are overlapping regular pages inbetweenBjørn Erik Pedersen
Fixes #12263
2024-03-16hugolib: Remove Site.HomeAbsURLBjørn Erik Pedersen
It's not in use and after #12266 it's also not corret to use on its own (use .Site.Home.Permalink).
2024-03-16deps: Upgrade github.com/gohugoio/hugo-goldmark-extensions/passthrough ↵Bjørn Erik Pedersen
v0.1.0 => v0.2.0
2024-03-16hugolib: Fix sitemap index with monolingual siteJoe Mooring
Fixes #12266
2024-03-15hugolib: Deprecate site methods Author, Authors, and SocialJoe Mooring
Closes #12228
2024-03-15all: Typo fixesChristian Oliff
2024-03-15Fix translationKey handling for term pagesBjørn Erik Pedersen
Fixes #12261
2024-03-15Fix intersect and similar for term entry page collectionsBjørn Erik Pedersen
Fixes #12254
2024-03-15Upgrade to Go 1.22.1Bjørn Erik Pedersen
Closes #12250
2024-03-15build(deps): bump github.com/evanw/esbuild from 0.20.1 to 0.20.2dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.20.1 to 0.20.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.20.1...v0.20.2) --- updated-dependencies: - dependency-name: github.com/evanw/esbuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15Fix server rebuilds when adding sub sections especially on WindowsBjørn Erik Pedersen
This commit also optimizes for the case where change events for both file (e.g. `_index.md`) and the container directory comes in the same event batch. While testing this on Windows 11 (ARM64), I notice that Windows behaves a little oddly when dumping a folder of files into the content tree; it works (at least after this commit), but it seems like the event batching behaves differently compared to other OSes (even older Win versions). A related tip would be to try starting the server with polling, to see if that improves the situation, e.g.: ``` hugo server --poll 700ms ``` Fixes #12230
2024-03-14tpl/tplimpl: Remove deprecated method from sitemapindex.xmlJoe Mooring
2024-03-14build(deps): bump golang.org/x/tools from 0.18.0 to 0.19.0dependabot[bot]
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.18.0 to 0.19.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14build(deps): bump github.com/tdewolff/minify/v2 from 2.20.17 to 2.20.19dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.17 to 2.20.19. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.20.17...v2.20.19) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14deps: Upgrade github.com/alecthomas/chroma/v2 to v2.13.0Paul Jolly
Closes #11862
2024-03-14tpl/tplimpl: Modify figure shortcode to look for page resourceJoe Mooring
Closes #12244 Closes #12245
2024-03-13Fix panic when changing archetype files when servere is runningBjørn Erik Pedersen
Fixes #12195
2024-03-13build(deps): bump golang.org/x/mod from 0.15.0 to 0.16.0dependabot[bot]
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.15.0 to 0.16.0. - [Commits](https://github.com/golang/mod/compare/v0.15.0...v0.16.0) --- updated-dependencies: - dependency-name: golang.org/x/mod dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13Fix front matter date location when value gets inherited from other datesBjørn Erik Pedersen
Fixes #12236
2024-03-13Fix Name for nested resourced fetched in resources.ByName and similarBjørn Erik Pedersen
Fixes #12214
2024-03-13common/hugo: Rename IsMultiHost and IsMultiLingualJoe Mooring
hugo.IsMultiHost => hugo.IsMultihost hugo.IsMultiLingual => hugo.IsMultilingual Closes #12232
2024-03-10hugolib: Deprecate .Site.MultiLingual in favor of hugo.IsMultiLingualJoe Mooring
Closes #12224
2024-03-09snap: Transition to from core20 to core22Joe Mooring
Closes #12219
2024-03-07releaser: Prepare repository for 0.124.0-DEVrelease-0.123.8hugoreleaser
[ci skip]
2024-03-07releaser: Bump versions for release of 0.123.8v0.123.8hugoreleaser
[ci skip]
2024-03-07markup/goldmark: TOC: render strikethrough, emojisJonas Zeiger
Configure the TOC (TableOfContents, toc.go) goldmark renderer to always enable the Strikethrough and Emoji extensions. This allows handling ast.KindStrikethrough and ast.KindEmoji AST nodes when rendering the TOC. Fixes #7169 Fixes #11783 Fixes #12022
2024-03-07Add hugo.IsMultiHostrazonyang
2024-03-07docs: Fix hyphens and grammar in synopsis of command 'hugo server'Andreas Deininger
2024-03-07resources/images: Retain newlines with text overlaysJoe Mooring
Closes #12206
2024-03-07Don't auto-create empty sections for nested taxonomiesBjørn Erik Pedersen
Fixes #12188
2024-03-07Fix resource name in resources.ByTypeBjørn Erik Pedersen
Fixes #12190
2024-03-07Fix global resource isn't published when using an uncommon code constructBjørn Erik Pedersen
Fixes #12190
2024-03-07Fix section page resource not published if resource filename partially ↵Bjørn Erik Pedersen
matches content file name Fixes #12198
2024-03-07Fix taxonomy kind template lookup issueBjørn Erik Pedersen
Fixes #12193
2024-03-07tpl/tplimpl: Honor markdown attributes in embedded image render hookJoe Mooring
Fixes #12203
2024-03-01releaser: Prepare repository for 0.124.0-DEVrelease-0.123.7hugoreleaser
[ci skip]
2024-03-01releaser: Bump versions for release of 0.123.7v0.123.7hugoreleaser
[ci skip]
2024-03-01hugofs: Fix vertical mount merge issueBjørn Erik Pedersen
Fixes #12175
2024-03-01Fix and add integration test for the Bootstrap SCSS module for both Dart ↵Bjørn Erik Pedersen
Sass and Libsass This fixes the reverse filesystem lookup (absolute filename to path relative to the composite filesystem). The old logic had some assumptions about the locality of the actual files that didn't work in more complex scenarios. This commit now also adds the popular Bootstrap SCSS Hugo module to the CI build (both for libsass and dartsass transpiler), so we can hopefully avoid similar future breakage. Fixes #12178