Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3255 commits
Select commit Hold shift + click to select a range
5d51b82
resources: Fix the :counter placeholder
jmooring May 21, 2026
c23d979
Squashed 'docs/' changes from 0755fb534d..1f8ddb8a52
bep May 21, 2026
5f01b06
Merge commit 'c23d97904fd31ef745bece57133aa1b9275ec20c'
bep May 21, 2026
87f194b
Sync Go template package to 1.26.3
bep May 20, 2026
67aede4
tpl/collections: Make dict return nil when no values are provided
bep May 21, 2026
6475d30
tpl: Use AllTranslations in sitemap template
bep May 21, 2026
cbe4339
tpl: Simplify sitemap template
bep May 21, 2026
4ed7600
hugolib: Use AllTranslated in IsTranslated
bep May 22, 2026
fe6c726
build(deps): bump golang.org/x/image from 0.40.0 to 0.41.0
dependabot[bot] May 22, 2026
4f444c8
build(deps): bump golang.org/x/net from 0.54.0 to 0.55.0
dependabot[bot] May 22, 2026
d2c821b
Update AI assistance disclosure requirements
bep May 23, 2026
7711ba4
Remove note on refactoring contributions
bep May 23, 2026
4bc7cae
Fix typo in CONTRIBUTING.md
bep May 23, 2026
b613365
markup/highlight: Allow overriding type and code via options
bep May 21, 2026
ee4f1ac
parser: Drop empty sub maps from hugo config output
bep May 23, 2026
d8c7021
tpl/tplimpl: Consolidate and improve embedded template integration tests
jmooring May 23, 2026
c4bbc28
all: Replace RWMutex struct caches with ConcurrentMap
bep May 23, 2026
aeb9a5c
hugolib: Merge existing hugo_stats.json when renderSegments is set
bep May 25, 2026
df54219
hugolib: Fix Page.GitInfo for modules with go.mod in a repo subdirectory
bep May 25, 2026
80e6084
config: Preserve intentionally empty maps
jmooring May 26, 2026
90d9f81
Add image processing support for AVIF
bep Dec 31, 2025
e41a064
Disallow HTML content by default
bep May 25, 2026
076dfe1
releaser: Bump versions for release of 0.162.0
bep May 26, 2026
ea8b48a
tpl/time: Fix locale-specific month abbreviations
jmooring May 26, 2026
c270975
Revert "tpl/collections: Make dict return nil when no values are prov…
bep May 27, 2026
2760288
tpl: Skip broken x shortcode test
bep May 27, 2026
21e9868
tpl/tplimpl: Fix X shortcode test
jmooring May 28, 2026
59f35cd
modules/npm: Fix false stale warning after npm pack
jmooring May 27, 2026
bba860e
releaser: Bump versions for release of 0.162.1
bep May 28, 2026
b0fd7ee
releaser: Prepare repository for 0.163.0-DEV
bep May 28, 2026
28d882a
Add some PNG to AVIF golden test cases
bep May 27, 2026
45c00b7
misc: Remove duplicate words in comments
jmooring May 29, 2026
ca68936
all: Adjust tests for deprecated link and image render hook settings
jmooring May 29, 2026
b01ecd4
images: Add quality setting per image format
bep Jun 1, 2026
4e17421
images: Recover from memory alloc errors in WASM image processors
bep Jun 3, 2026
0f44046
tpl/tplimpl/embedded: Prevent leading newline in sitemap template
bep Jun 1, 2026
79be053
livereload: Disconnect from websocket server on pageswap
bep Jun 2, 2026
03b4b54
images: Make 60 the default quality for AVIF
bep Jun 1, 2026
4e47d95
config: Deprecate the glogal imaging quality setting
bep Jun 2, 2026
248241b
Cap AVIF lossy quality at 99
bep Jun 4, 2026
341f575
images: Make AVIF chroma subsampling content-aware via the hint
bep Jun 4, 2026
77a1147
build(deps): bump github.com/getkin/kin-openapi from 0.138.0 to 0.139.0
dependabot[bot] May 25, 2026
a043d3e
images: Add a per-format AVIF hint setting
bep Jun 4, 2026
e8fefc8
images: Force cache invalidation for AVIF target
bep Jun 4, 2026
b89e7fe
page: Add IsBranch and deprecate IsNode
bep Jun 4, 2026
7d1b1fb
build(deps): bump github.com/rogpeppe/go-internal from 1.14.1 to 1.15.0
dependabot[bot] May 29, 2026
ff2903a
resources/jsconfig: Remove deprecated baseUrl setting
bep Jun 7, 2026
98ad9b3
Only support the latest Go version
bep Jun 7, 2026
cf18b82
images: Deprecate Imaging.Compression and move it down to webp and av…
bep Jun 5, 2026
781fabf
all: Run go fix ./...
bep Jun 7, 2026
bb57404
build(deps): bump github.com/tetratelabs/wazero
dependabot[bot] Jun 8, 2026
0d29fc8
build(deps): bump github.com/bits-and-blooms/bitset
dependabot[bot] Jun 8, 2026
121bc6c
ci: Re-add macos-latest to the test matrix
bep Jun 8, 2026
1d018ef
pagesfromdata: Use relative path for content adapter template metrics
anupamojha-eng Jun 8, 2026
4a94853
releaser: Bump versions for release of 0.163.0
bep Jun 8, 2026
72495f9
releaser: Prepare repository for 0.164.0-DEV
bep Jun 8, 2026
2602796
commands: Fix convert command
jmooring Jun 9, 2026
11f09f5
Update CI workflow to exclude macOS
bep Jun 9, 2026
cf9c8f9
Drop symlinks in os.ReadDir, os.ReadFile, os.Stat and os.FileExists
bep Jun 9, 2026
a00b5c7
security: Normalize integer IPv4 host encodings in http.urls check
bep Jun 9, 2026
95e5e9f
Fix multi --renderSegments merge behavior
bep Jun 11, 2026
93c8c7d
build(deps): bump golang.org/x/image from 0.41.0 to 0.42.0
dependabot[bot] Jun 9, 2026
2a4fd58
releaser: Bump versions for release of 0.163.1
bep Jun 11, 2026
1f35beb
releaser: Prepare repository for 0.164.0-DEV
bep Jun 11, 2026
147f605
markup: Standardize behavior when external converters are missing
jmooring Jun 8, 2026
134674f
Continue resolving on ERR_ACCESS_DENIED in Node's resolver
bep Jun 15, 2026
19a5cec
releaser: Bump versions for release of 0.163.2
bep Jun 15, 2026
96e06e1
releaser: Prepare repository for 0.164.0-DEV
bep Jun 15, 2026
f013346
hugolib: Fix page/section name collision regression
jmooring Jun 17, 2026
9d66d51
resources: Support babel/postcss config variants
jmooring Jun 16, 2026
70a9068
parser/pageparser: Preserve non-ASCII whitespace after e.g. summary d…
bep Jun 16, 2026
e8988c3
Merge commit 'c86d9f4aa8a58931f52df6516f10b67c807505fb'
bep Jun 18, 2026
c86d9f4
Squashed 'docs/' changes from 1f8ddb8a52..e17426e2b6
bep Jun 18, 2026
ce1a7e0
markup/highlight: Escape lang in default code block rendering
bep Jun 18, 2026
4d22555
releaser: Bump versions for release of 0.163.3
bep Jun 18, 2026
d15baf5
releaser: Prepare repository for 0.164.0-DEV
bep Jun 18, 2026
fe06735
hugolib: Return error from .Render when template not found
jmooring Jun 23, 2026
790a8aa
deps: Add Chroma dark/light mode support
bep Jun 9, 2026
e46d37a
tpl/tplimpl: Make template name lookup case-insensitive
jmooring Jun 23, 2026
128fb17
markup/pandoc: Add citation support
jmooring Jun 24, 2026
884439b
deps: Upgrade github.com/evanw/esbuild v0.28.0 => v0.28.1
bep Jun 25, 2026
a5ec542
Add encoding.HexDecode/Encode
bep Jun 28, 2026
ef053fa
Merge commit 'af91eb1997ace34ef5eed0be31646e8483b78096'
bep Jul 3, 2026
af91eb1
Squashed 'docs/' changes from e17426e2b6..c85af679bf
bep Jul 3, 2026
dfb35dc
tpl/crypto: Add crypto.Hash
bep Jun 29, 2026
212cc11
build(deps): bump github.com/pelletier/go-toml/v2 from 2.3.1 to 2.4.2
dependabot[bot] Jun 29, 2026
332d5ec
build(deps): bump golang.org/x/mod from 0.36.0 to 0.37.0
dependabot[bot] Jun 12, 2026
65c8217
hugio: Speedup hasBytesWriter
bep Jul 3, 2026
feb3d49
hugolib: Use the output format's suffix for alias paths
hexbinoct Jul 3, 2026
499794d
create: Keep new content placeholders buildable
sjh9714 Jul 3, 2026
a879ebf
build(deps): bump github.com/getkin/kin-openapi from 0.139.0 to 0.140.0
dependabot[bot] Jul 4, 2026
671897a
tpl/collections: Include key in IsSet unsupported-type warning
bejaratommy Jun 24, 2026
7b4ddd1
contributing: Add a note about co-authoring attributions when borrowi…
bep Jul 4, 2026
29ed932
tpl/resources: Deprecate resources.PostProcess in favour of templates…
bep Jul 4, 2026
c6acc24
Add markup.rst.syntaxHighlight option
bep Jul 3, 2026
5a5f4a5
all: Rewrite deprecated constructs in tests
bep Jul 4, 2026
d83ce27
tpl/tplimpl: Support sub paths in layouts passed to .Render
bep Jul 5, 2026
7c0a0bc
build(deps): bump github.com/pelletier/go-toml/v2 from 2.4.2 to 2.4.3
dependabot[bot] Jul 6, 2026
36ad9f5
build(deps): bump golang.org/x/net from 0.55.0 to 0.56.0
dependabot[bot] Jul 6, 2026
5ad2846
build(deps): bump golang.org/x/image from 0.42.0 to 0.43.0
dependabot[bot] Jul 6, 2026
786ce71
build(deps): bump golang.org/x/tools from 0.45.0 to 0.47.0
dependabot[bot] Jul 6, 2026
921db7b
build(deps): bump github.com/JohannesKaufmann/html-to-markdown/v2
dependabot[bot] Jul 6, 2026
ce2470e
releaser: Bump versions for release of 0.164.0
bep Jul 6, 2026
a198116
releaser: Prepare repository for 0.165.0-DEV
bep Jul 6, 2026
d1f191c
Update README.md
jmooring Jul 10, 2026
984358f
snap: Fix snap home environment
jmooring Jul 10, 2026
89b8c32
common/hugo: Include non-go dependencies in go env output
jmooring Jul 11, 2026
f961093
markup/asciidocext: Fix TOC parsing for asciidoctor-html5s
jmooring Jul 22, 2026
7df45f6
Delete .gemini
bep Jul 25, 2026
8930802
build(deps): bump golang.org/x/mod from 0.37.0 to 0.38.0
dependabot[bot] Jul 9, 2026
948cfb9
build(deps): bump google.golang.org/grpc from 1.80.0 to 1.82.1
dependabot[bot] Jul 22, 2026
a32d70b
build(deps): bump github.com/getkin/kin-openapi from 0.140.0 to 0.144.0
dependabot[bot] Jul 25, 2026
1b701b7
build(deps): bump golang.org/x/text from 0.38.0 to 0.40.0
dependabot[bot] Jul 25, 2026
f228c87
Drop symlinks in parent directories
bep Jul 25, 2026
861ede6
cache/filecache: Don't prune used cache entries with mixed-case dir n…
bep Jul 26, 2026
6bf1524
Fix panic on server atomic save edits on MacOS
bep Jul 24, 2026
0796fa7
build(deps): bump golang.org/x/net from 0.56.0 to 0.57.0
dependabot[bot] Jul 25, 2026
7d90277
warpc: Improve AVIF error message on memory allocation failure
bep Jul 27, 2026
e35b7f0
build(deps): bump github.com/yuin/goldmark from 1.8.2 to 1.8.4
dependabot[bot] Jul 27, 2026
9611813
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.13 to 2.24.14
dependabot[bot] Jul 27, 2026
03b244f
build(deps): bump github.com/bep/imagemeta from 0.17.2 to 0.17.3
dependabot[bot] Jul 27, 2026
7fe786e
build(deps): bump golang.org/x/image from 0.43.0 to 0.44.0
dependabot[bot] Jul 27, 2026
420527f
build(deps): bump github.com/getkin/kin-openapi from 0.144.0 to 0.145.0
dependabot[bot] Jul 28, 2026
9c71f60
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.13 to 2.2.14
dependabot[bot] Jul 28, 2026
a243a61
check.sh: Handle staticcheck not installed/in PATH
Soundcreates Jul 28, 2026
635532a
build(deps): bump golang.org/x/tools from 0.47.0 to 0.48.0
dependabot[bot] Jul 29, 2026
615e45d
Add css.ChromaStyles
bep Jul 28, 2026
9da472d
build(deps): bump github.com/yuin/goldmark from 1.8.4 to 1.8.5
dependabot[bot] Jul 29, 2026
b5fa03d
build(deps): bump github.com/mattn/go-isatty from 0.0.22 to 0.0.24
dependabot[bot] Jul 29, 2026
8a468df
Remove some old deprecations
bep Jul 29, 2026
70db201
Add importContext option to css.Build, js.Build, css.Sass and css.Tai…
bep Aug 3, 2026
64da6d7
markup/highlight: Re-emit token colors dropped by Chroma's minifier
bep Aug 4, 2026
33d1f2c
css: Add classDark and classLight options to css.ChromaStyles and gen…
bep Aug 5, 2026
75fcc75
build(deps): bump github.com/rogpeppe/go-internal from 1.15.0 to 1.16.0
dependabot[bot] Aug 6, 2026
94f3908
build(deps): bump github.com/getkin/kin-openapi from 0.145.0 to 0.146.0
dependabot[bot] Aug 7, 2026
a808f6e
Fix server errors when deleting static files or directories
bep Aug 8, 2026
2ffaf1f
Fix server static file detection for deleted files/directories in the…
bep Aug 8, 2026
44da086
Add Data.Artifacts to css.Build and js.Build
bep Aug 8, 2026
52c9bd7
circleci: Upgrade to Go 1.26.5
bep Aug 9, 2026
8a55df7
Remove tailwindcss from the default security.exec.allow list (note)
bep Aug 9, 2026
f772998
Fix resource transformation chaining after content access
bep Aug 10, 2026
dd3f273
Remove Star History from README
bep Aug 10, 2026
f88f0a9
resources/jsconfig: Drop source root mapping for the current source root
bep Aug 11, 2026
995a215
resources: Resume chained resource transformations
bep Aug 11, 2026
c829b73
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.14 to 2.24.16
dependabot[bot] Aug 10, 2026
03dc917
build(deps): bump github.com/evanw/esbuild from 0.28.1 to 0.28.2
dependabot[bot] Aug 12, 2026
0bb337b
build(deps): bump github.com/bep/imagemeta from 0.17.3 to 1.0.0
dependabot[bot] Aug 12, 2026
76a5e18
releaser: Bump versions for release of 0.165.0
bep Aug 12, 2026
0805c73
releaser: Prepare repository for 0.166.0-DEV
bep Aug 12, 2026
5e70992
hugolib: Fix ReadingTime and FuzzyWordCount calculations
jmooring Aug 15, 2026
49dceb1
hugolib: Fix slice bounds panic when deleting multiple nodes at same …
bep Aug 15, 2026
a05736c
tpl/resources: Add resources.Publish
bep Aug 15, 2026
bf05832
page: Add IndexOf method to Pages
Shiwang0-0 Aug 19, 2026
8405b80
tpl: Improve the return keyword in templates
bep Aug 16, 2026
87260e4
commands: Fix lang flag description in config command
jmooring Aug 18, 2026
e31ff54
Upgrade to Go 1.27
bep Aug 20, 2026
7b5199f
all: Run modernize -fix ./...
bep Aug 20, 2026
85ad5e4
hugolib: Add some fast render mode integration tests
bep Aug 22, 2026
723579f
Remove comments from rebuild test functions
bep Aug 22, 2026
a25af7f
metrics: Improve template metrics duration formatting
Shiwang0-0 Aug 24, 2026
166d3ee
common/hstore: Keep read lock while sorting map values
Soundcreates Aug 26, 2026
df4ac34
modules/npm: Make the generated workspace package private with a stab…
bep Aug 27, 2026
bcde806
hugolib: Make .Render take an optional context argument
bep Aug 19, 2026
e4dc48c
markup: Escape code-fence attribute values in the default renderer
bep Aug 28, 2026
d6e6f9e
resources: Validate the resolved address on remote fetches
bep Aug 28, 2026
49835f8
tpl: Separate deferred templates by escaping mode
Soundcreates Aug 29, 2026
90fe506
config/allconfig: Improve resilience of hugo mod init
jmooring Aug 29, 2026
e6abb9c
config/security: Deny text/org content by default
bep Aug 30, 2026
ec52e63
warpc/js: Upgrade katex to 0.18.4 (note)
bep Aug 31, 2026
39507d5
resources/page: Don't let a title's "/" split an auto-derived slug
ipince Aug 30, 2026
850f11c
related: Add tokenize option for index values
jmooring Aug 12, 2026
efe5cbc
github: Fix workflow for stale issues
jmooring Aug 31, 2026
f61346e
related: Speed up index creation
bep Aug 31, 2026
62e24b7
resources/images: Add some golden test cases
bep Sep 1, 2026
7785668
resources/images: Fix filters on transparent colors and paletted images
bep Sep 1, 2026
6b5b7d8
resources/images: Add golden test cases for geometric filter chains o…
bep Sep 1, 2026
9e7c978
resources/images: Preserve the source palette for geometric filter ch…
bep Sep 1, 2026
d1ee825
build(deps): bump software.sslmate.com/src/go-pkcs12 from 0.7.0 to 0.7.2
dependabot[bot] Aug 20, 2026
9171dae
build(deps): bump golang.org/x/tools from 0.48.0 to 0.49.0
dependabot[bot] Aug 17, 2026
d19e0a4
resources/images: Bump formatVersionNumbers.PNG and fix version cache…
bep Sep 1, 2026
8d88b8b
tpl/transform: Bump fileCacheEntryVersion in transform.ToMath (note)
bep Sep 1, 2026
5f0d88b
build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1
dependabot[bot] Sep 2, 2026
24d5e42
config/security: Harden the default http.urls and resolved address ch…
bep Sep 3, 2026
6b33517
build(deps): bump github.com/gohugoio/httpcache from 0.8.0 to 0.9.0
dependabot[bot] Sep 3, 2026
fd5f7c6
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.16 to 2.24.17
dependabot[bot] Sep 3, 2026
d462968
build(deps): bump golang.org/x/mod from 0.39.0 to 0.40.0
dependabot[bot] Sep 1, 2026
423e9ce
markup/pandoc: Support pandoc 3.11 and later
jmooring Sep 3, 2026
a36bd27
Add internalExternal.IgnoreTailwindCSSSecurityError config option
bep Sep 3, 2026
efd2456
deps: Upgrade github.com/gobwas/glob v0.2.3 => v1.0.0
bep Sep 2, 2026
9c2527f
tpl/partials: Slight performance improvement of the common partialCac…
bep Sep 4, 2026
cdd1627
build(deps): bump golang.org/x/image from 0.44.0 to 0.45.0
dependabot[bot] Sep 7, 2026
b4062c8
build(deps): bump github.com/yuin/goldmark from 1.8.5 to 1.8.6
dependabot[bot] Sep 7, 2026
371d4c4
Squashed 'docs/' changes from c85af679b..237e4cdf7
bep Sep 7, 2026
7956558
Merge commit '371d4c4a44526c154bfb3f5110dede3f5c6dd75e'
bep Sep 7, 2026
3b2d3b8
markup/highlight: Escape lineAnchors before passing it to Chroma
bep Sep 7, 2026
938c820
hugofs: Drop symlinked mount roots
bep Sep 7, 2026
701dd33
build(deps): bump github.com/bep/tmc from 0.6.0 to 0.7.0
dependabot[bot] Sep 4, 2026
dc03bb2
build(deps): bump github.com/bep/lazycache from 0.8.1 to 0.9.0
dependabot[bot] Sep 4, 2026
6a2a955
config/security: Add http.proxyFromEnvironment and document the resol…
bep Sep 7, 2026
857120b
js: Add es2025 as supported build target
bep Sep 7, 2026
c05c012
hexec: Fail on symlinks that escape the Node.js permission paths
bep Sep 8, 2026
5130d00
common/hreflect: Fix the off-by-one in the float to int overflow guards
youdie006 Sep 8, 2026
5b6e7c2
build(deps): bump github.com/bits-and-blooms/bitset
dependabot[bot] Sep 8, 2026
6152e22
build(deps): bump github.com/getkin/kin-openapi from 0.146.0 to 0.149.0
dependabot[bot] Sep 8, 2026
ae07063
tpl/strings: Fix replaceRE with zero-width assertions
youdie006 Sep 8, 2026
870f746
build(deps): bump golang.org/x/mod from 0.40.0 to 0.41.0
dependabot[bot] Sep 9, 2026
393de58
build(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0
dependabot[bot] Sep 9, 2026
3fbfd27
build(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2
dependabot[bot] Sep 9, 2026
78400b4
releaser: Bump versions for release of 0.166.0
bep Sep 9, 2026
f425ff6
releaser: Prepare repository for 0.167.0-DEV
bep Sep 9, 2026
881c0ec
Update brevity guideline in AGENTS.md
bep Sep 10, 2026
aaacd12
tpl/strings: Add a strings.FirstLower function
jmooring Sep 11, 2026
a374b86
Fix stale page content when several files in the same dir change in o…
bep Sep 11, 2026
4d628bb
tpl/compare: Consolidate numeric comparisions
bep Sep 10, 2026
ffbcdba
tpl/collections: Fix union of slices with different numeric element t…
hktitof Sep 11, 2026
34d8cdb
Update release image to Go 1.27.1 (#15342)
bep Sep 16, 2026
3be817e
config/security: Add an integration test
bep Sep 14, 2026
ec57bb7
deps: Bump github.com/bep/imagemeta from 1.0.0 to 1.0.1 (#15338)
dependabot[bot] Sep 16, 2026
d692a24
resources/page: Balance container tags in automatic summaries
bep Sep 17, 2026
5698de9
tpl: Reformat templates with new formatter version
bep Sep 18, 2026
ec578f0
parser/metadecoders: Strip BOM from data prior to unmarshalling
jmooring Sep 18, 2026
51cd9e6
Revert "parser/metadecoders: Strip BOM from data prior to unmarshalling"
bep Sep 19, 2026
10bb97b
ci: Skip vet on Windows
bep Sep 21, 2026
1d87ee5
ci: Fix broken magefile
bep Sep 21, 2026
366377b
tpl/collections: Compare numbers exactly in set operations and where
bep Sep 20, 2026
7a46cd2
readme: Bump minimum Go version
mikoxyz Sep 21, 2026
cb6a707
Expand and consolidate BOM trimming
bep Sep 21, 2026
25f2856
hugofs: Allow symlinked mount roots in the main project
bep Sep 21, 2026
5edd05b
Fix smartcrop with rotation (#15371)
bep Sep 22, 2026
2782bfd
Fix build with Go 1.26 on Fedora 44 Beta
flyn-org Sep 22, 2026
c7e1a8e
build(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.45.0
dependabot[bot] Sep 18, 2026
671fbf2
markup/tableofcontents: Escape heading IDs in ToC HTML
bep Sep 22, 2026
2fe9bab
hugofs: Drop symlinks in virtual ancestor dirs of nested mounts
bep Sep 22, 2026
09fa49b
hugofs: Cache symlink checks
bep Sep 22, 2026
07b9fba
commands: Handle missing staticDir in cleanDestinationDir
jmooring Sep 20, 2026
a74b753
commands: Make testscripts/commands/hugo__clean_destination_dir.txt p…
bep Sep 23, 2026
facde8a
build(deps): bump golang.org/x/text from 0.41.0 to 0.42.0
dependabot[bot] Sep 17, 2026
753c5fc
build(deps): bump golang.org/x/image from 0.45.0 to 0.46.0
dependabot[bot] Sep 14, 2026
8e3bbe6
build(deps): bump golang.org/x/tools from 0.49.0 to 0.50.0
dependabot[bot] Sep 23, 2026
9e4059c
build(deps): bump github.com/dustin/go-humanize from 1.0.1 to 1.1.0
dependabot[bot] Sep 23, 2026
1567bde
build(deps): bump github.com/olekukonko/tablewriter from 1.1.4 to 1.1.5
dependabot[bot] Sep 24, 2026
9086193
config: Add build.cleanDestinationDir config
bep Sep 23, 2026
bd1588b
tpl/partials: Support relative partial paths from within partials (#1…
bep Sep 24, 2026
73171ac
Squashed 'docs/' changes from 237e4cdf7..30306d771
bep Sep 24, 2026
079c76f
Merge commit '73171acbb132bdf1387823b744e9d873d39b2924'
bep Sep 24, 2026
8bac4de
ci: Disable vet when running tests
bep Sep 25, 2026
806a62e
tpl: Avoid reflect.Value.Call for common signatures
bep Sep 26, 2026
bc68654
Make default baseURL https://example.org/ (#15384) (note)
bep Sep 26, 2026
5d43ab7
Add slug support for section, taxonomy and term pages
bep Sep 25, 2026
83ab799
Avoid allocating in SitesMatrix.MatchSiteVector
bep Sep 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
128 changes: 96 additions & 32 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,115 @@
parameters:

# v2: 11m.
defaults: &defaults
resource_class: large
docker:
- image: bepsays/ci-goreleaser:1.17.5
environment:
CGO_ENABLED: "0"

- image: bepsays/ci-hugoreleaser:1.22700.20100
environment: &buildenv
GOMODCACHE: /root/project/gomodcache
version: 2
jobs:
build:
<<: *defaults
prepare_release:
<<: *defaults
environment: &buildenv
GOMODCACHE: /root/project/gomodcache
steps:
- checkout:
- setup_remote_docker
- checkout:
path: hugo
- &git-config
run:
command: |
git config --global user.email "bjorn.erik.pedersen+hugoreleaser@gmail.com"
git config --global user.name "hugoreleaser"
- run:
command: |
git clone git@github.com:gohugoio/hugoDocs.git
cd hugo
go mod download
sleep 5
go mod verify
- persist_to_workspace:
root: .
paths: .
release:
<<: *defaults
command: |
cd hugo
go mod download
go run -tags release main.go release --step 1
- save_cache:
key: git-sha-{{ .Revision }}
paths:
- hugo
- gomodcache
build_container1:
<<: [*defaults]
environment:
<<: [*buildenv]
steps:
- attach_workspace:
at: /root/project
- &restore-cache
restore_cache:
key: git-sha-{{ .Revision }}
- run:
command: |
cd hugo
git config --global user.email "bjorn.erik.pedersen+hugoreleaser@gmail.com"
git config --global user.name "hugoreleaser"
go run -tags release main.go release -r ${CIRCLE_BRANCH}

no_output_timeout: 20m
command: |
mkdir -p /tmp/files/dist1
cd hugo
hugoreleaser build -paths "builds/container1/**" -workers 3 -dist /tmp/files/dist1 -chunks $CIRCLE_NODE_TOTAL -chunk-index $CIRCLE_NODE_INDEX
- &persist-workspace
persist_to_workspace:
root: /tmp/files
paths:
- dist1
- dist2
parallelism: 7
build_container2:
<<: [*defaults]
environment:
<<: [*buildenv]
docker:
- image: bepsays/ci-hugoreleaser-linux-arm64:1.22700.20100
steps:
- *restore-cache
- &attach-workspace
attach_workspace:
at: /tmp/workspace
- run:
command: |
mkdir -p /tmp/files/dist2
cd hugo
hugoreleaser build -paths "builds/container2/**" -workers 1 -dist /tmp/files/dist2
- *persist-workspace
archive_and_release:
<<: [*defaults]
environment:
<<: [*buildenv]
steps:
- *restore-cache
- *attach-workspace
- *git-config
- run:
name: Add github.com to known hosts
command: ssh-keyscan github.com >> ~/.ssh/known_hosts
- run:
command: |
cp -a /tmp/workspace/dist1/. ./hugo/dist
cp -a /tmp/workspace/dist2/. ./hugo/dist
- run:
command: |
cd hugo
hugoreleaser archive
hugoreleaser release
go run -tags release main.go release --step 2
workflows:
version: 2
release:
jobs:
- build:
- prepare_release:
filters:
branches:
only: /release-.*/
- hold:
type: approval
- build_container1:
requires:
- prepare_release
- build_container2:
requires:
- build
- release:
- prepare_release
- archive_and_release:
context: org-global
requires:
- hold
- build_container1
- build_container2



9 changes: 7 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---
name: 'Bug report'
labels: 'bug'
labels: 'Bug, NeedsTriage'
assignees: ''
about: Create a report to help us improve
---


<!--
Please do not use the issue queue for questions or troubleshooting. Unless you are certain that your issue is a software defect, use the forum:

https://discourse.gohugo.io
-->

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Hugo are you using (`hugo version`)?
Expand Down
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
name: Proposal
about: Suggest an idea for Hugo
about: Propose a new feature for Hugo
title: ''
labels: 'Proposal'
labels: 'Proposal, NeedsTriage'
assignees: ''

---


<!-- Describe this new feature. Think about if it really belongs in the Hugo core module; you may want to discuss it on https://discourse.gohugo.io/ first. -->
23 changes: 0 additions & 23 deletions .github/stale.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build Docker image

on:
release:
types: [published]
pull_request:
permissions:
packages: write

env:
REGISTRY_IMAGE: ghcr.io/gohugoio/hugo

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Docker meta
id: meta
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
with:
images: ${{ env.REGISTRY_IMAGE }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0

- name: Login to GHCR
# Login is only needed when the image is pushed
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
id: build
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: .
provenance: mode=max
sbom: true
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: HUGO_BUILD_TAGS=extended,withdeploy
52 changes: 52 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'Close stale and lock closed issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2
with:
issue-inactive-days: 21
add-issue-labels: 'Outdated'
issue-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
with:
operations-per-run: 999
days-before-issue-stale: 365
days-before-pr-stale: 365
days-before-issue-close: 56
days-before-pr-close: 56
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. The resources of the Hugo team are limited, and so we are asking for your help.

If this is a **bug** and you can still reproduce this error on the <code>master</code> branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a **feature request**, and you feel that it is still relevant and valuable, please tell us why.

This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
stale-pr-message: This PR has been automatically marked as stale because it has not had
recent activity. The resources of the Hugo team are limited, and so we are asking for your help.

Please check https://github.com/gohugoio/hugo/blob/master/CONTRIBUTING.md#code-contribution and verify that this code contribution fits with the description. If yes, tell us in a comment.

This PR will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
stale-issue-label: 'Stale'
exempt-issue-labels: 'Keep,Security'
stale-pr-label: 'Stale'
exempt-pr-labels: 'Keep,Security'
Loading