Age | Commit message (Collapse) | Author | |
---|---|---|---|
12 days | Add css.TailwindCSS | Bjørn Erik Pedersen | |
Closes #12618 Closes #12620 | |||
14 days | Implement defer | Bjørn Erik Pedersen | |
Closes #8086 Closes #12589 | |||
2024-06-13 | resources: Update Dart Sass error message | Joe Mooring | |
2024-06-09 | resources/page: Deprecate PageSize in favor of PagerSize | Bjørn Erik Pedersen | |
See #12572 | |||
2024-06-09 | Rename DefaultPageSize => PagerSize | Bjørn Erik Pedersen | |
This was recently introduced. so no breaking change. The thing is: * We do not commonly use the prefix Default* even if it can be overridden in the templates. * PagerSize makes more sense and is also the term used in the code. | |||
2024-06-08 | resources/page: Let GroupByParam return nil instead of error | Joe Mooring | |
Closes #12578 | |||
2024-06-08 | Add option to not generate aliases for first page of pagination pages | Bjørn Erik Pedersen | |
Also consolidate the pagination configuration into a struct. Closes #12572 | |||
2024-06-08 | js: Support more recent targets with js.Build / esbuild | Bjørn Erik Pedersen | |
Closes #12575 | |||
2024-06-04 | resources: Fix spelling | Bjørn Erik Pedersen | |
2024-06-04 | Add a HTTP cache for remote resources. | Bjørn Erik Pedersen | |
Fixes #12502 Closes #11891 | |||
2024-06-01 | resources/page: Deprecate .Sites.First in favor of .Sites.Default | Joe Mooring | |
Closes #12513 | |||
2024-05-30 | content adapter: Add support for menus in AddPage | Bjørn Erik Pedersen | |
Fixes #12507 | |||
2024-05-15 | Fix mixed case Page params handling in content adapters | Bjørn Erik Pedersen | |
Fixes #12497 | |||
2024-05-15 | Fix paths with dots issue with content adapters | Bjørn Erik Pedersen | |
Fixes #12493 | |||
2024-05-14 | resources/images: Handle NaN EXIF latitude and longitude | Joe Mooring | |
Fixes #12490 | |||
2024-05-14 | Create pages from _content.gotmpl | Bjørn Erik Pedersen | |
Closes #12427 Closes #12485 Closes #6310 Closes #5074 | |||
2024-05-05 | Fix one more resource change eviction logic issue | Bjørn Erik Pedersen | |
This is how we should have fixed #1239. Fixes #12456 | |||
2024-05-04 | Make the cache eviction logic for stale entities more robust | Bjørn Erik Pedersen | |
Fixes #12458 | |||
2024-05-02 | Run mage generate | Bjørn Erik Pedersen | |
2024-05-02 | resources/page: Pull internal Page methods into its own interface | Bjørn Erik Pedersen | |
So it doesn't get visible when passing it to `jsonify`. | |||
2024-04-20 | Fix partial rebuilds for SCSS fetched with GetMatch and similar | Bjørn Erik Pedersen | |
Fixes #12395 | |||
2024-04-19 | resources/images: Fix TestColorLuminance on s390x | Bjørn Erik Pedersen | |
2024-04-16 | Add Luminance to Color | Bjørn Erik Pedersen | |
To sort an image's colors from darkest to lightest, you can then do: ```handlebars {{ {{ $colorsByLuminance := sort $image.Colors "Luminance" }} ``` This uses the formula defined here: https://www.w3.org/TR/WCAG21/#dfn-relative-luminance Fixes #10450 | |||
2024-04-15 | Pass .RenderShortcodes' Page to render hooks as .PageInner | Bjørn Erik Pedersen | |
The main use case for this is to resolve links and resources (e.g. images) relative to the included `Page`. A typical `include` would similar to this: ```handlebars {{ with site.GetPage (.Get 0) }} {{ .RenderShortcodes }} {{ end }} ``` And when used in a Markdown file: ```markdown {{% include "/posts/p1" %}} ``` Any render hook triggered while rendering `/posts/p1` will get `/posts/p1` when calling `.PageInner`. Note that * This is only relevant for shortcodes included with `{{%` that calls `.RenderShortcodes`. * `.PageInner` is available in all render hooks that, before this commit, received `.Page`. * `.PageInner` will fall back to the value of `.Page` if not relevant and will always have a value. Fixes #12356 | |||
2024-04-12 | resources/page: Add taxonomies Page method | Joe Mooring | |
Closes #12316 | |||
2024-04-11 | all: Typo fixes | Christian Oliff | |
2024-04-08 | babel: Run go fmt | Bjørn Erik Pedersen | |
2024-04-08 | babel: Close file before removing | guangwu | |
2024-04-05 | resources/page: Escape hash sign in permalinks | Soren L. Hansen | |
When creating a link to a file with a `#` in the filename, the link gets truncated. This happens because the filename is eventaully passed to `url.Parse` which (correctly!) interprets the `#` as fragment separator. This commit escapes the `#` in the filename before creating the link. Fixes #4926 Fixes #8232 Fixes #12342 Co-authored-by: Joe Mooring <joe.mooring@veriphor.com> | |||
2024-03-27 | resources: Use different cache key when copying resources | Joe Mooring | |
Closes #10412 Closes #12310 | |||
2024-03-22 | resources/page: Fix GoDoc comment | George Ma | |
2024-03-20 | testing: Set usesFMA as true for riscv64 too | Anthony Fok | |
This fixes TestImageOperationsGolden "values are not deep equal" error on riscv64 with Go 1.22 and above. | |||
2024-03-15 | hugolib: Deprecate site methods Author, Authors, and Social | Joe Mooring | |
Closes #12228 | |||
2024-03-15 | all: Typo fixes | Christian Oliff | |
2024-03-13 | Fix front matter date location when value gets inherited from other dates | Bjørn Erik Pedersen | |
Fixes #12236 | |||
2024-03-13 | Fix Name for nested resourced fetched in resources.ByName and similar | Bjørn Erik Pedersen | |
Fixes #12214 | |||
2024-03-13 | common/hugo: Rename IsMultiHost and IsMultiLingual | Joe Mooring | |
hugo.IsMultiHost => hugo.IsMultihost hugo.IsMultiLingual => hugo.IsMultilingual Closes #12232 | |||
2024-03-10 | hugolib: Deprecate .Site.MultiLingual in favor of hugo.IsMultiLingual | Joe Mooring | |
Closes #12224 | |||
2024-03-07 | Add hugo.IsMultiHost | razonyang | |
2024-03-07 | resources/images: Retain newlines with text overlays | Joe Mooring | |
Closes #12206 | |||
2024-03-07 | Fix resource name in resources.ByType | Bjørn Erik Pedersen | |
Fixes #12190 | |||
2024-03-01 | Fix 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 | |||
2024-03-01 | Fix resources.GetMatch, resources.Match, and resources.ByType to they don't ↵ | Bjørn Erik Pedersen | |
normalize permalinks Fixes #12182 | |||
2024-03-01 | resources/page: Make Taxonomy.Get and Taxonomy.Count case-insensitive | Joe Mooring | |
Closes #12177 | |||
2024-02-27 | Fix multihost processed image not copied to non-default content languages | Bjørn Erik Pedersen | |
Fixes #12163 | |||
2024-02-26 | Fix cascade-pattern-with-extension for cascade in site config | Bjørn Erik Pedersen | |
Also clean up the log handling in the integration tester, most notably lost logs during the config loading. Fixes #12151 | |||
2024-02-25 | resource: Revert the normalization of Resource.Name | Bjørn Erik Pedersen | |
Which means that .Name now returns the same as it did in 0.122.0. Closes #12142 | |||
2024-02-24 | tocss: Fix the import resolving from absolute to relative assets paths | Bjørn Erik Pedersen | |
Fixes #12137 | |||
2024-02-24 | Maek Resoyrce.Key as (mostly) internal | Bjørn Erik Pedersen | |
2024-02-23 | resources: Skip the image golden tests when running locally | Bjørn Erik Pedersen | |
See #12119 |