Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2023-06-30 | Only print the path warnings once | Bjørn Erik Pedersen | |
We could reset and rerun it on server rebuilds, but that report needs a full build to make sense. Also clean up the config vs flags in this area: Make all config settings match the flags e.g. `printPathWarnings`, but set up aliases for the old. Fixes #11187 | |||
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-28 | Fix output formats and media type per language config regression | Bjørn Erik Pedersen | |
Fixes #11159 | |||
2023-06-28 | Don't panic on invalid security whitelist regexp | Bjørn Erik Pedersen | |
Fixes #11176 | |||
2023-06-27 | Fix false path warnings with resources.PostProcess | Bjørn Erik Pedersen | |
Fixes #7735 | |||
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 | 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-13 | Fix config merge regression with root slices (e.g. disableKinds) | Bjørn Erik Pedersen | |
Fixes #11089 | |||
2023-06-12 | config: Remove unexpected _merge keys introduced in author and social maps | Bjørn Erik Pedersen | |
Fixes #11083 | |||
2023-06-12 | Upgrade to v2 of the Dart Sass Embedded Protocol | Bjørn Erik Pedersen | |
Fixes #11059 | |||
2023-06-02 | Fix menuItem.URL when pageRef is not set | Bjørn Erik Pedersen | |
Fixes #11062 | |||
2023-06-02 | Don't inject livereload script on hugo -w | Bjørn Erik Pedersen | |
Fixes #11061 | |||
2023-06-01 | commands: Add --lang to hugo config | Bjørn Erik Pedersen | |
Fixes #11057 | |||
2023-06-01 | Make sure any default mounts show up in "hugo config" | Bjørn Erik Pedersen | |
Fixes #11040 | |||
2023-05-30 | Fail on invalid defaultContentLanguage | Bjørn Erik Pedersen | |
Fixes #11044 | |||
2023-05-30 | Avoid panic in invalid language config | Bjørn Erik Pedersen | |
Fixes #11046 | |||
2023-05-30 | Don't panic on empty yaml config params | Bjørn Erik Pedersen | |
Fixes #11047 | |||
2023-05-28 | Fix it so languageCode on top level config still works | Bjørn Erik Pedersen | |
This is common for monolingual sites, and we broke this in Hugo 0.112.4. Fixes #11037 | |||
2023-05-27 | Add language.LanguageCode | Bjørn Erik Pedersen | |
But keep an alias at Site Closes #11027 |