Bjørn Erik Pedersen
94fbab2a88
Delay the creation of cache directories until they're used
...
Fixes #11390
2023-08-30 16:39:06 +03:00
Matt Brown
c3f273b2d7
deploy: Create AWS session for CloudFront invalidation via Go CDK
...
This allows the AWS credentials to be picked up from the configured
target URL (like blob does) rather than the current behaviour of only
relying on the defaults.
Relying on the defaults here means having to specify credentials twice
(once in the URL for the blob, once in the environment for this code
path) when non-default AWS credentials are in used (e.g. via a profile).
2023-08-30 16:38:20 +03:00
Sid
686c7b6eb1
ci(Netlify): specify HUGO_VERSION environment variable once
...
If an environment variable (`HUGO_VERSION` in this case) is going to be same for all contexts (production, deploy-preview & branch-deploy), then there is no need to specify it for each context.
Specifying it once under [build.environment] should be enough.
From https://docs.netlify.com/configure-builds/file-based-configuration/#deploy-contexts :
"any property of a context-aware key, such as [build] or [[plugins]], will be applied to all contexts unless the same property key is present in a more specific context."
2023-08-30 14:32:42 +03:00
OMOTO Tsukasa
fd57ba960b
markup/goldmark: Add CJK extension
...
Fixes #10472
2023-08-30 13:08:45 +02:00
OMOTO Tsukasa
d7dcc76d27
markup/goldmark: Add CJK extension
...
Fixes #10472
2023-08-30 13:08:45 +02:00
dependabot[bot]
9bf76fd7e8
build(deps): bump google.golang.org/api from 0.134.0 to 0.138.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.134.0 to 0.138.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.134.0...v0.138.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 13:44:19 +03:00
Bjørn Erik Pedersen
15d3e48cec
Fix RegularPagesRecursive for the home page
...
Fixes #11396
2023-08-30 13:44:04 +03:00
dependabot[bot]
b2a02c3c5a
build(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.11.1...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 12:17:42 +03:00
dependabot[bot]
6821d6f159
build(deps): bump gocloud.dev from 0.33.0 to 0.34.0
...
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.33.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 12:17:10 +03:00
dependabot[bot]
93c7ad12ec
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.9 to 2.1.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.9...v2.1.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 12:16:46 +03:00
Bjørn Erik Pedersen
d2ae9e1363
testscripts: Move hugo new tests to where they belong
2023-08-30 10:31:08 +02:00
Bjørn Erik Pedersen
3a8aad6b19
Fix .RawContent for empty content pages ( #11407 )
...
Fixes #11406
2023-08-30 10:11:20 +02:00
Sid
da99a356f1
fix: change heading level
2023-08-29 09:38:13 -07:00
Joe Mooring
e57da3f00d
Update taxonomy methods
2023-08-28 12:47:35 -07:00
Joe Mooring
7461724902
Update description of rendered breadcrumb navigation
2023-08-27 11:58:51 -07:00
Joe Mooring
6bc52fd40a
Clarify term
2023-08-26 20:04:19 -07:00
Joe Mooring
dab07dcb0e
Fix typo
2023-08-26 06:58:01 -07:00
Joe Mooring
e50fa452a1
Fix typo
2023-08-25 13:51:31 -07:00
Joe Mooring
6c1ea83c2d
Update template overview page
2023-08-25 13:21:51 -07:00
Joe Mooring
a5dc978454
Clarify the append function
2023-08-25 12:43:32 -07:00
Joe Mooring
a135e52a02
Update GitHub hosting instructions
2023-08-25 11:07:36 -07:00
Joe Mooring
a51bf9f4f6
Update sections page
2023-08-24 22:50:31 -07:00
Joe Mooring
ed35fc6c47
Update archetypes and glossary
2023-08-24 16:23:58 -07:00
Lars Lehtonen
a7b93e6564
hugolib: Handle dropped error
2023-08-24 19:57:44 +03:00
Oleksandr Redko
65871d5cf4
common/loggers: Fix typo in option name
2023-08-23 22:52:37 +02:00
Joe Mooring
2e4bf89ec7
misc: Change dart-sass labels in workflows and snapcraft
2023-08-23 22:51:46 +02:00
Bjørn Erik Pedersen
ebaa733d45
Make sure resources directory isn't created in hugo new theme
...
Fixes #11382
2023-08-23 22:50:35 +02:00
Bjørn Erik Pedersen
24b1be45c1
Go 1.21 Upgrade
...
Fixes #11351
2023-08-23 21:49:27 +02:00
Bjørn Erik Pedersen
111f02db2a
testscripts: Make mod vendor test stable
2023-08-23 20:52:09 +02:00
michalbiesek
8a08f91d5b
dockerfile: Update Docker images
...
- `golang:1.21-alpine`
- `alpine:3.18`
2023-08-23 18:06:52 +02:00
Bjørn Erik Pedersen
dcf425c846
Fix it so disable a module does not disable transitive dependency required by others
...
The motivation behind the original implementation was probably to show disabled modules when running `hugo mod graph`.
Fixes #11376
2023-08-23 18:05:18 +02:00
Joe Mooring
9a8c84d600
create/skeletons: Move theme's site config to top level
...
Closes #11380
2023-08-23 18:05:00 +02:00
dependabot[bot]
a19d03b0e6
build(deps): bump github.com/yuin/goldmark from 1.5.5 to 1.5.6
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.5.5...v1.5.6 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-23 13:19:49 +02:00
Joe Mooring
cdf0b3b7a6
modules: Make new cache directories read/write
...
Leave newly-created directories in the module cache read-write instead
of making them read-only.
Closes #11369
2023-08-22 08:47:02 +02:00
Oleksandr Redko
d979831dbd
deploy: Update InvalidateCloudFront to use Go CDK helper
2023-08-21 16:57:41 +02:00
Bjørn Erik Pedersen
bcf7421ea5
Avoid escaping HTML chars inside hugo_stats.json
...
Fixes #11371
2023-08-21 13:17:21 +02:00
Joe Mooring
b6538532f4
commands/new: Embed site and theme skeletons
...
The skeletons are used when creating new sites and themes with the CLI.
Closes #11358
2023-08-21 10:38:22 +02:00
Joe Mooring
1a4522b3ed
Format examples
2023-08-18 20:33:55 -07:00
Joe Mooring
a70f200944
Use "hugo new content" to create content
2023-08-18 09:36:44 -07:00
Joe Mooring
673846ff95
Remove comment
2023-08-17 17:03:08 -07:00
Joe Mooring
b7febf0c51
Fix link
2023-08-17 11:47:28 -07:00
Joe Mooring
6f6fe2133d
Miscellaneous edits
2023-08-15 19:37:17 -07:00
Joe Mooring
99227dd187
Remove lookup order table from output formats page
2023-08-15 12:59:34 -07:00
Joe Mooring
bc88706573
tools/editors: Add Prettier Plugin for Go Templates
2023-08-15 07:47:42 -07:00
Joe Mooring
157b169eb6
Update docs.yaml
2023-08-15 07:04:25 -07:00
Joe Mooring
2bfb3bf4c8
docshelper: Improve template lookup order descriptions
...
- Always include example for "with layout/type set"
- Use lowercase for "set to" examples (lookup is case sensitive)
- Consistent use of taxonomy and term
Fixes gohugoio/hugoDocs#1734
2023-08-15 12:53:18 +02:00
Joe Mooring
90944aa261
docshelper: Improve template lookup order descriptions
...
- Always include example for "with layout/type set"
- Use lowercase for "set to" examples (lookup is case sensitive)
- Consistent use of taxonomy and term
Fixes gohugoio/hugoDocs#1734
2023-08-15 12:53:18 +02:00
Joe Mooring and James McMurry
1c8f514e05
Update cond function
...
Co-authored-by: James McMurry <jmcmurry@semanticnoise.com >
2023-08-14 19:08:40 -07:00
Joe Mooring
e5f1f81134
Add assumptions to taxonomy and term template lookup order examples
2023-08-14 11:00:28 -07:00
Joe Mooring
475b406e28
Update postprocess
...
- Fix description list markdown
- Remove reference to HUGO_ENV per #2154
2023-08-14 08:38:08 -07:00