summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-08-01Fix module config watch regressionBjørn Erik Pedersen
Fixes #11313
2023-07-31deps: Fix Chroma dependency versionJoe Mooring
Fixes #11311
2023-07-31releaser: Prepare repository for 0.117.0-DEVrelease-0.116.0hugoreleaser
[ci skip]
2023-07-31releaser: Bump versions for release of 0.116.0v0.116.0hugoreleaser
[ci skip]
2023-07-31build(deps): bump github.com/evanw/esbuild from 0.18.11 to 0.18.17dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.11 to 0.18.17. - [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.18.11...v0.18.17) --- 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>
2023-07-31config: Do not fail on unknown config keysBjørn Erik Pedersen
Make it a warning. One such example I found in an old site is `blackfriday`. These should be fixed/removed, but it's not important enough to fail the build.
2023-07-30resources: Fix spelling in method nameBjørn Erik Pedersen
2023-07-30docs: Regenerate CLI docsBjørn Erik Pedersen
2023-07-30Fix so temporary images do not get publishedBjørn Erik Pedersen
Fixes #10255
2023-07-30readme: Fix linkSojon
2023-07-29commands: Update cacheDir descriptionJoe Mooring
2023-07-29Update where.mdBjørn Erik Pedersen
2023-07-29docs: Update whereBjørn Erik Pedersen
Go doesn't use the RE2 (C++) library, it's a pure Go implementation.
2023-07-29docs: Update where function operatorsJoe Mooring
Related to #11281
2023-07-29docs: Rework the cacheDir documentationBjørn Erik Pedersen
2023-07-29Merge commit '87de22d7464e239c775fbd48ebce1665d5b1e80d'Bjørn Erik Pedersen
2023-07-29Squashed 'docs/' changes from 85befbb4d..c43daf45fBjørn Erik Pedersen
c43daf45f Update build-options.md 3ebbfedd4 Build options: Improve readability 5091bf6a0 Improve safeHTMLAttr explanation b64cbce2e Fix description of collections.Apply 6ea264b9c netlify: Hugo 0.115.4 b42e7c542 Revert "config: Remove disableLiveReload" 35ce2290e Remove excess spaces in configuration docs 2edf761de Update listed titleCaseStyle default value 887f6fb97 config: Remove disableLiveReload c9f49fb26 Fix typo 37d8569ac Remove tools associated with Atom 871d11b72 Fix URL in postprocess docs bbb17d29f Update GitLab workflow bc53ea5ce Use sentence-style capitalization for headings 7ca578786 netlify: Hugo 0.115.3 c5e010bd0 Merge branch 'tempv0.115.3' c885604bf Remove starter kits page 4c0fe269e Update mention of Netlify CMS to Decap CMS 05067175c Consistently use file name instead of filename 763dd6404 Improve multilingual config example and descriptions e5aa61ec5 Use lowercase when referring to front matter (#2132) 7ba3d0c72 docs: Refresh docs.json de8bddedf Update description of timeout configuration value e1245d9f8 netify: Hugo 0.115.2 153a36bdf Merge branch 'tempv0.115.2' 707cec754 Fix typo in figure example in shortcodes.md 128cbe1e5 Improve taxonomy template examples 4e743ec36 Improve highlight function example f96fa6805 transpile sass: Fixes typo e4a8a21f7 Compile Sass to CSS, not SCSS c1538bd00 docs: Regenerate CLI docs bd4e33436 Add titleCaseStyle none and firstupper 6ff93d478 Update quick-start.md 5c6653cb1 Update build config examples and explanation 1458d9a43 Remove the `url` parameter 6a1e92044 netlify: Hugo 0.115.1 a9d5d6f2f Merge branch 'tempv0.115.1' 4c4882384 docs: Regen docs helper d1aa1c1f5 Add link to PowerShell vs Windows PowerShell documentation 6e3b70c21 Fix link to Git installation instructions 4f8a9ca38 Clarify resources.Copy arguments ee86dd121 Update theme dc7c305cf Update theme 60c23920b Clarify caching for resources.FromString (#2120) 5bf2fef6d netlify: Hugo 0.115.0 46bde87c5 Merge branch 'tempv0.115.0' 42cc48c16 Specify target path caching for resources.ExecuteAsTemplate (#2027) a54bf4cd0 Correct the sample code of mermaid (#2119) 8c49b06fc docs: Update permalinks documentation a4818d99b Page bundles: link to info about single vs. list page templates (#2116) 3fc7744d7 snap: Document removable media access dbd08f58a Update theme df5b88633 netlify: Hugo 0.114.1 6b859834a Fix typo 9ec92cf68 Improve Dart Sass example for Netlify 2d294ece9 Add Dart Sass installation and usage documentation 4c6b77d6c Fix placement of curly braces 897812a50 Update template-debugging.md to include a jsonify example 22bca519b Update GitHub Pages hosting instructions (#2109) a964d93ce Document math functions new in v0.114.0 (#2108) 9f4cb040e netlify: Hugo 0.114.0 55b4d9221 Merge branch 'tempv0.114.0' 93c4dcf93 docs: Regen docshelper 96f03c77f docs: Regen CLI docs 8e22a228a Clarify resource media type variables (#2106) 2652da8d4 Update transform.Unmarshal.md (#2105) 92657177a Update theme 4601c1d65 Update theme a216f3145 Merge commit '3c1deaf201a35de08d23cc58f8f03682cace3349' eed8794f5 cache: Set default cache path based on $USER git-subtree-dir: docs git-subtree-split: c43daf45fdc36c254f4274a0815ea62d4d8c37e0
2023-07-28Deprecate taxonomyTermBjørn Erik Pedersen
In favour of 'taxonomy' Closes #11256
2023-07-28Warn about unknown kinds in disableKindsBjørn Erik Pedersen
See #11256
2023-07-28Move all Kind constants to its own packageBjørn Erik Pedersen
See #11256
2023-07-28build(deps): bump github.com/rogpeppe/go-internaldependabot[bot]
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.10.1-0.20230508101108-a4f6fabd84c5 to 1.11.0. - [Release notes](https://github.com/rogpeppe/go-internal/releases) - [Commits](https://github.com/rogpeppe/go-internal/commits/v1.11.0) --- updated-dependencies: - dependency-name: github.com/rogpeppe/go-internal dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0dependabot[bot]
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.8.0 to 0.9.0. - [Commits](https://github.com/golang/image/compare/v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28Remove unused autogenerated methodBjørn Erik Pedersen
2023-07-28commands: Replace deprecated ioutil with osOleksandr Redko
2023-07-28tpl/collections: Add BenchmarkWhereOpsBjørn Erik Pedersen
``` BenchmarkWhereOps/eq-10 8702 120410 ns/op 52280 B/op 2515 allocs/op BenchmarkWhereOps/ne-10 9829 120759 ns/op 52280 B/op 2515 allocs/op BenchmarkWhereOps/like-10 6754 176377 ns/op 52917 B/op 2515 allocs/op ```
2023-07-28tpl/collections: Add like operator to where functionJoe Mooring
Closes #11279
2023-07-28tpl/collections: Fix description of apply functionJoe Mooring
The collections.Apply template function cannot be used with maps.
2023-07-27snap: Set cache location to $HOME/.cache/hugo_cacheJoe Mooring
2023-07-27Use os.UserCacheDir as first fallback if cacheDir is not setBjørn Erik Pedersen
We will now try 1. cacheDir (or, commonly set in environment as `HUGO_CACHEDIR`) 2. if on Netlify we use `/opt/build/cache/hugo_cache/` 3. os.UserCacheDir 4. A temp dir Storing the cache, especially the module cache, in a temporary idea has had lots of hard to debug issues, especially on MacOS, which this commit tries to fix. This should also make it easier to locate the Hugo cache: >UserCacheDir returns the default root directory to use for user-specific cached data. Users should create their own application-specific subdirectory within this one and use that. > >On Unix systems, it returns $XDG_CACHE_HOME as specified by https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if non-empty, else $HOME/.cache. On Darwin, it returns $HOME/Library/Caches. On Windows, it returns %LocalAppData%. On Plan 9, it returns $home/lib/cache. > >If the location cannot be determined (for example, $HOME is not defined), then it will return an error. Fixes #11286 Fixes #11291
2023-07-27Add a common regexp cacheBjørn Erik Pedersen
``` BenchmarkGetOrCompileRegexp-10 73959368 13.71 ns/op 0 B/op 0 allocs/op BenchmarkCompileRegexp-10 3143529 380.1 ns/op 872 B/op 10 allocs/op ```
2023-07-27Fix multiple languages in HUGO_DISABLELANGUAGESBjørn Erik Pedersen
Fixes #11278
2023-07-26snap: Allow access to SSH keys and $HOME/.config/hugoJoe Mooring
Closes #11288
2023-07-26deps: Upgrade github.com/yuin/goldmark v1.5.4 => v1.5.5Joe Mooring
2023-07-20releaser: Prepare repository for 0.116.0-DEVrelease-0.115.4hugoreleaser
[ci skip]
2023-07-20releaser: Bump versions for release of 0.115.4v0.115.4hugoreleaser
[ci skip]
2023-07-19Fix broken handling of legacy taxonomyTerm in disableKindsBjørn Erik Pedersen
Fixes #11257
2023-07-19commands: Move testscript into its correct placeBjørn Erik Pedersen
2023-07-19publisher: Improve class collector for dynamic classesBjørn Erik Pedersen
E.g. * AlpinesJS' :class="isTrue 'class1' : 'class2'" * And dynamic classes with colon in them, e.g. `hover:bg-white`
2023-07-19Fix cache busting setupBjørn Erik Pedersen
By correctly capturing the target variable when compiling the cache buster. Fixes #11268
2023-07-19commands: Delay server builds after the watcher is set upBjørn Erik Pedersen
See #11264
2023-07-19Create hugo_stats.json if it's mounted but does not existsBjø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-19Re-instate disableLiveReload as a config option (and not just a flag)Bjørn Erik Pedersen
Closes #11259
2023-07-19common/htime: Fix localization of abbreviated month namesJoe Mooring
Fixes #11267
2023-07-17Improve error messages for PostCSS etc.Bjørn Erik Pedersen
Fixes #9730
2023-07-16Fix setting config from env with complex (e.g. YAML) stringsBjørn Erik Pedersen
So you can do ``` HUGO_OUTPUTS="home: [rss]" hugo ``` And similar. Fixes #11249
2023-07-15Fix for data mounts in sub foldersDavid 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-13releaser: Prepare repository for 0.116.0-DEVrelease-0.115.3hugoreleaser
[ci skip]
2023-07-13releaser: Bump versions for release of 0.115.3v0.115.3hugoreleaser
[ci skip]
2023-07-13Improve 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-13Return error when .Render is invoked without argBjørn Erik Pedersen
Fixes #11243