Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-18 | hugolib: Deprecate .Site.DisqusShortname | Joe Mooring | |
Use .Site.Config.Services.Disqus.Shortname instead. | |||
2023-10-17 | hugolib: Deprecate .Site.GoogleAnalytics | Joe Mooring | |
Use .Site.Config.Services.GoogleAnalytics.ID instead. | |||
2023-10-06 | common/hugo: Add hugo.IsServer and hugo.IsDevelopment | Joe Mooring | |
And deprecate site.IsServer. Closes #11510 | |||
2023-10-02 | resources/integrity: Return string instead of template.HTMLAttr | Joe Mooring | |
Closes #11513 | |||
2023-09-24 | Add images.Process filter | Bjørn Erik Pedersen | |
This allows for constructs like: ``` {{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg q30 resize 200x") }} {{ $img = $img | images.Filter $filters }} ``` Note that the `action` option in `images.Process` is optional (`resize` in the example above), so you can use the above to just set the target format, e.g.: ``` {{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg") }} {{ $img = $img | images.Filter $filters }} ``` Fixes #8439 | |||
2023-09-24 | Add $image.Process | Bjørn Erik Pedersen | |
Which supports all the existing actions: resize, crop, fit, fill. But it also allows plain format conversions: ``` {{ $img = $img.Process "webp" }} ``` Which will be a simple re-encoding of the source image. Fixes #11483 | |||
2023-09-22 | Add images.Opacity filter | Bjørn Erik Pedersen | |
Fixes #11471 | |||
2023-08-23 | common/loggers: Fix typo in option name | Oleksandr Redko | |
2023-08-05 | Try to make test more stable | Bjørn Erik Pedersen | |
2023-08-04 | Return original error on resources.GetRemote retry timeouts | Bjørn Erik Pedersen | |
See #11327 | |||
2023-08-04 | Add retry in resources.GetRemote for temporary HTTP errors | Bjørn Erik Pedersen | |
Fixes #11312 | |||
2023-08-03 | Add Page.RenderShortcodes | Bjørn Erik Pedersen | |
A layouts/shortcodes/include.html shortcode may look like this: ```html {{ $p := site.GetPage (.Get 0) }} {{ $p.RenderShortcodes }} ``` Fixes #7297 | |||
2023-07-30 | resources: Fix spelling in method name | Bjørn Erik Pedersen | |
2023-07-30 | Fix so temporary images do not get published | Bjørn Erik Pedersen | |
Fixes #10255 | |||
2023-07-28 | Deprecate taxonomyTerm | Bjørn Erik Pedersen | |
In favour of 'taxonomy' Closes #11256 | |||
2023-07-28 | Warn about unknown kinds in disableKinds | Bjørn Erik Pedersen | |
See #11256 | |||
2023-07-28 | Move all Kind constants to its own package | Bjørn Erik Pedersen | |
See #11256 | |||
2023-07-28 | Remove unused autogenerated method | Bjørn Erik Pedersen | |
2023-07-17 | Improve error messages for PostCSS etc. | Bjørn Erik Pedersen | |
Fixes #9730 | |||
2023-07-13 | js: Pass tsconfig.json to esBuild | Joe Mooring | |
Note that esBuild only inspects/honors certain fields. See https://esbuild.github.io/content-types/#tsconfig-json. Fixes #11232 | |||
2023-06-29 | Misc permalinks adjustments | Bjørn Erik Pedersen | |
* Move config loading to the page package * Fix a lower bound panic for the `:sections` slice syntax. * Always return the `:title` * Add some permalinks integration tests * Also see issues below Fixes #9448 Fixes #11184 See #8523 | |||
2023-06-26 | resources/page: Allow section and taxonomy pages to have a permalink ↵ | Mai-Lapyst | |
configuration Allows using permalink configuration for sections (branch bundles) and also for taxonomy pages. Extends the current permalink configuration to be able to specified per page kind while also staying backward compatible: all permalink patterns not dedicated to a certain kind, get automatically added for both normal pages and term pages. Fixes #8523 | |||
2023-06-19 | tocss/dartsas: Avoid using Logf for the internal Dart Sass logging | Bjørn Erik Pedersen | |
As that does not work when percentages are used in the log messages. | |||
2023-06-19 | all: Fix typos in function names and comments | Oleksandr Redko | |
2023-06-18 | Replace the old log setup, with structured logging etc. | Bjørn Erik Pedersen | |
Fixes #11124 | |||
2023-06-14 | Re-add site.RSSLink (and deprecate it) | Bjørn Erik Pedersen | |
Fixes #11110 | |||
2023-06-14 | Fix .Width and .Height for animated gifs | Bjørn Erik Pedersen | |
Fixes #11079 | |||
2023-06-12 | resources: Remove failing and superflous test assertion | Bjørn Erik Pedersen | |
2023-06-12 | Upgrade to v2 of the Dart Sass Embedded Protocol | Bjørn Erik Pedersen | |
Fixes #11059 | |||
2023-06-12 | Fix indented SASS imports for Dart Sass | Bjørn Erik Pedersen | |
Fixes #11074 | |||
2023-05-29 | Fix potential deadlock in ByParam | Bjørn Erik Pedersen | |
Fixes #11039 | |||
2023-05-28 | Fix Processed images count regression for multiple languages | Bjørn Erik Pedersen | |
Fixes #11002 | |||
2023-05-27 | Add language.LanguageCode | Bjørn Erik Pedersen | |
But keep an alias at Site Closes #11027 | |||
2023-05-22 | Revert "postcss: Improve validation of option 'config'" | Bjørn Erik Pedersen | |
This reverts commit 9a0370e8eb71fed3ac04984020b6aa95c43f22ab. Closes #10990 | |||
2023-05-22 | postcss: Improve validation of option 'config' | Andreas Deininger | |
2023-05-22 | Add cache busting config to support Tailwind 3 | Bjørn Erik Pedersen | |
Fixes #10974 | |||
2023-05-20 | Allow whitelisting mediaTypes used in resources.GetRemote | Bjørn Erik Pedersen | |
Fixes #10286 | |||
2023-05-20 | Add hugo.WorkingDir | Bjørn Erik Pedersen | |
Fixes #10969 | |||
2023-05-18 | all: Fix comments for exported functions and packages | Oleksandr Redko | |
2023-05-17 | Re-add site.LanguagePrefix | Bjørn Erik Pedersen | |
Updates #10947 | |||
2023-05-17 | Handle transient errors in config loading etc. | Bjørn Erik Pedersen | |
As in: Get the Kubernetes site to build with the new Hugo version. Updates #10947 | |||
2023-05-17 | Deprecate site.Language.Params and some other fixes | Bjørn Erik Pedersen | |
Updates #10947 | |||
2023-05-16 | Add Sections to Site interface | Bjørn Erik Pedersen | |
See https://github.com/gohugoio/hugo/issues/10947#issuecomment-1550012671 Updates #10947 | |||
2023-05-16 | Create a struct with all of Hugo's config options | Bjørn Erik Pedersen | |
Primary motivation is documentation, but it will also hopefully simplify the code. Also, * Lower case the default output format names; this is in line with the custom ones (map keys) and how it's treated all the places. This avoids doing `stringds.EqualFold` everywhere. Closes #10896 Closes #10620 | |||
2023-03-20 | resources.functions: improve validation | Andreas Deininger | |
2023-03-20 | resources: Fix typos in error message and variables | Oleksandr Redko | |
2023-03-12 | Run gofmt -s on source files | Andreas Deininger | |
2023-03-10 | Don't fail when calling Paginate with an empty pages.PagesGroup | Bjørn Erik Pedersen | |
Fixes #10802 | |||
2023-03-05 | Fix .Fragments when called cross sites on uninitialized output format | Bjørn Erik Pedersen | |
Fixes #10794 | |||
2023-03-05 | Allow page.TableOfContents on self in shortcode | Bjørn Erik Pedersen | |
Fixes #10791 |