Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-29 | Adjust site benchmark | Bjørn Erik Pedersen | |
2023-12-29 | Simplify baseline benchmark | Bjørn Erik Pedersen | |
2023-12-18 | all: Remove unused code | Bjørn Erik Pedersen | |
Using x/tools/cmd/deadcode | |||
2023-12-04 | tpl: Allow using page resources on the images page parameter for ↵ | Razon Yang | |
`opengraph`, `schema` and `twitter_cards` templates The page images selection order as follows: 1. Page's images parameter, image resources are supported. 2. Page's image resources that naming in *feature*, *cover* or *thumbnail* pattern. 3. If no page images specified, then the first one of site's images will be used as the fallback, supports site resources. | |||
2023-12-04 | hugolib: Apply titleCaseStyle to automatic section pages | Joe Mooring | |
Fixes #11547 | |||
2023-11-02 | Add a new test helper | Bjørn Erik Pedersen | |
2023-11-01 | Avoid double printing INFO deprecation messages | Bjørn Erik Pedersen | |
Fixes #11645 | |||
2023-10-31 | Fix deprecation printing on info level | Bjørn Erik Pedersen | |
Fixes #11638 | |||
2023-10-30 | Make site.BaseURL and $pager.URL a string | Bjørn Erik Pedersen | |
Was template.URL. | |||
2023-10-30 | hugolib: Display correct markup identifier in error message | Joe Mooring | |
Fixes #11538 | |||
2023-10-28 | tpl/collections: Make delimit return a string | Bjørn Erik Pedersen | |
Closes #10876 Closes #11502 | |||
2023-10-26 | Revise the deprecation logging | Bjørn Erik Pedersen | |
This introduces a more automatic way of increasing the log levels for deprecation log statements based on the version it was deprecated. The thresholds are a little arbitrary, but * We log INFO for 6 releases * We log WARN for another 6 releases * THen ERROR (failing the build) This should give theme authors plenty of time to catch up without having the log filled with warnings. | |||
2023-10-26 | Remove rest of the now unused emoji code | Bjørn Erik Pedersen | |
See #11598 | |||
2023-10-24 | markdown: Pass emoji codes to yuin/goldmark-emoji | Joe Mooring | |
Removes emoji code conversion from the page and shortcode parsers. Emoji codes in markdown are now passed to Goldmark, where the goldmark-emoji extension converts them to decimal numeric character references. This disables emoji rendering for the alternate content formats: html, asciidoc, org, pandoc, and rst. Fixes #7332 Fixes #11587 Closes #11598 | |||
2023-10-20 | tpl/debug: Add debug.Timer | Bjørn Erik Pedersen | |
Closes #11580 | |||
2023-10-18 | Add some convenient integration test helpers | Bjørn Erik Pedersen | |
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-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-12 | Fix recently broken benchmark | Bjørn Erik Pedersen | |
2023-09-12 | Adjust baseline benchmarks | Bjørn Erik Pedersen | |
2023-08-30 | Don't use the OS environment when creating config for docs | Bjørn Erik Pedersen | |
2023-08-30 | Fix RegularPagesRecursive for the home page | Bjørn Erik Pedersen | |
Fixes #11396 | |||
2023-08-30 | Fix .RawContent for empty content pages (#11407) | Bjørn Erik Pedersen | |
Fixes #11406 | |||
2023-08-24 | hugolib: Handle dropped error | Lars Lehtonen | |
2023-08-23 | common/loggers: Fix typo in option name | Oleksandr Redko | |
2023-08-23 | Fix it so disable a module does not disable transitive dependency required ↵ | Bjørn Erik Pedersen | |
by others The motivation behind the original implementation was probably to show disabled modules when running `hugo mod graph`. Fixes #11376 | |||
2023-08-21 | Avoid escaping HTML chars inside hugo_stats.json | Bjørn Erik Pedersen | |
Fixes #11371 | |||
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 | 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-27 | Fix multiple languages in HUGO_DISABLELANGUAGES | Bjørn Erik Pedersen | |
Fixes #11278 | |||
2023-07-19 | Fix broken handling of legacy taxonomyTerm in disableKinds | Bjørn Erik Pedersen | |
Fixes #11257 | |||
2023-07-19 | Create hugo_stats.json if it's mounted but does not exists | Bjørn Erik Pedersen | |
A common pattern for Tailwind 3 is to mount that file to get it on the server watch list. A common pattern is also to add hugo_stats.json to .gitignore. This has meant that the first time you start the server (no hugo_stats.json), it just doesn't work as expected. Fixes #11264 | |||
2023-07-19 | Re-instate disableLiveReload as a config option (and not just a flag) | Bjørn Erik Pedersen | |
Closes #11259 | |||
2023-07-16 | Fix setting config from env with complex (e.g. YAML) strings | Bjørn Erik Pedersen | |
So you can do ``` HUGO_OUTPUTS="home: [rss]" hugo ``` And similar. Fixes #11249 | |||
2023-07-15 | Fix for data mounts in sub folders | David Karlsson | |
Before this change, data files from Hugo modules were always mounted at the root of the `data` directory. The File and FileMetaInfo structs for modules are different from 'native' data directories. This changes how the keyParts for data files are generated so that data from modules or native directories are treated the same. | |||
2023-07-13 | Improve behavior of defaultContentLanguageInSubdir when only the default ↵ | Bjørn Erik Pedersen | |
language is enabled 1 .Create sitemapindex in root of publishDir (will contain link to sitemap.xml in defaultContentLanguage site) 2. Create index.html in root of publishDir (will redirect to defaultContentLanguage site) Fixes #11229 | |||
2023-07-13 | Return error when .Render is invoked without arg | Bjørn Erik Pedersen | |
Fixes #11243 | |||
2023-07-08 | Restore language.disabled config | Bjørn Erik Pedersen | |
Fixes #11219 | |||
2023-07-08 | Fix static content files multilingual root regression | Bjørn Erik Pedersen | |
Fixes #11223 | |||
2023-07-08 | Fix defaultContentLanguageInSubdir with only 1 language | Bjørn Erik Pedersen | |
Fixes #10064 | |||
2023-07-04 | Bump github.com/bep/clock v0.3.0 to renamed github.com/bep/clocks v0.5.0 | Anthony Fok | |
2023-07-03 | Fix buildStats when tags and classes are disabled | Bjørn Erik Pedersen | |
Fixes #11202 | |||
2023-07-02 | Rework the build.writeStats struct | Bjørn Erik Pedersen | |
Mostly to make it easier to toggle on/off this feature from the env. See #11191 | |||
2023-07-01 | Make build.writeStats a struct | Bjørn Erik Pedersen | |
So you can do ```toml [build.writeStats] tags = true classes = true ids = false ``` Fixes #11191 |