Skip to content

[pull] master from gohugoio:master #458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2,386 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2386 commits
Select commit Hold shift + click to select a range
2c77719
modules: Add GOAUTH to module config
bep Feb 13, 2025
2e835d0
build(deps): bump golang.org/x/tools from 0.29.0 to 0.30.0
dependabot[bot] Feb 13, 2025
5dd0ba0
Update README.md
jmooring Feb 13, 2025
503dcf6
internal/warpc: Enable KaTeX mhchem extension
jmooring Feb 13, 2025
c1f4228
config: Fix server.redirects.fromRe being ignored unless server.redir…
p-weston Feb 14, 2025
bd77944
build(deps): bump github.com/gohugoio/hugo-goldmark-extensions/extras
dependabot[bot] Feb 14, 2025
9c2f8ec
build(deps): bump github.com/sanity-io/litter from 1.5.5 to 1.5.7
dependabot[bot] Feb 14, 2025
157d370
Add autoID for definition terms
bep Feb 15, 2025
cb7a433
resources/page: Add :contentbasename and :contentbasenameorslug perma…
hacdias Feb 12, 2025
7b7a0f3
resources/page: Revise the new contentbasename permalinks tokens
bep Feb 12, 2025
5de3913
config/allconfig: Deprecate :filename and :slugorfilename tokens
jmooring Feb 17, 2025
367fe52
build(deps): bump github.com/sanity-io/litter from 1.5.7 to 1.5.8
dependabot[bot] Feb 17, 2025
a2ca956
build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1
dependabot[bot] Feb 17, 2025
24cc255
Fix auto generated header ids so they don't contain e.g. hyperlink de…
bep Feb 16, 2025
641403f
Fix Position for passthrough hooks
bep Feb 17, 2025
85c1727
markup/goldmark: Fix panic on stray attribute nodes
bep Feb 17, 2025
b289b17
releaser: Bump versions for release of 0.144.0
bep Feb 17, 2025
f1e799c
releaser: Prepare repository for 0.145.0-DEV
bep Feb 17, 2025
494e88a
markup/goldmark: Fix panic on empty Markdown header
bep Feb 18, 2025
a79d63a
releaser: Bump versions for release of 0.144.1
bep Feb 18, 2025
669216e
releaser: Prepare repository for 0.145.0-DEV
bep Feb 18, 2025
c3d435a
Fix --printPathWarnings when site calls templates.Defer
bep Feb 19, 2025
4fd7f32
snap: Update Node.js to 22.x
jmooring Feb 22, 2025
d0ce942
hugolib: Deprecate _build front matter key in favor of build
jmooring Feb 24, 2025
227e429
Fix potential nilpointer in httpcache config
bep Feb 24, 2025
381c0da
Fix some related content issues with content adapters
bep Feb 25, 2025
ab9e545
readme: Fix relative links in Editions section
martey Feb 22, 2025
04f21b4
Add transform.PortableText
bep Feb 21, 2025
d1f2330
build(deps): bump github.com/tetratelabs/wazero from 1.8.2 to 1.9.0
dependabot[bot] Feb 20, 2025
1a4851f
build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0
dependabot[bot] Feb 24, 2025
2f4e666
tpl: HTTPS the instagram Shortcode JS
coliff Feb 26, 2025
b7ae24b
build(deps): bump github.com/yuin/goldmark-emoji from 1.0.4 to 1.0.5
dependabot[bot] Feb 26, 2025
521911a
all: Run modernize -fix ./...
bep Feb 26, 2025
c498d0f
Use the page path and not the backing filename as the last resort in …
bep Feb 26, 2025
6927e6f
deps: Upgrade github.com/rogpeppe/go-internal v1.13.1 => v1.14.1
bep Feb 26, 2025
4094a1e
all: Typo fixes
coliff Feb 26, 2025
e5eecbd
github: Build docker image with both extended and withdeploy tags
margau Feb 26, 2025
666444f
releaser: Bump versions for release of 0.145.0
bep Feb 26, 2025
cb4a097
releaser: Prepare repository for 0.146.0-DEV
bep Feb 26, 2025
3a11d22
resources/image: Mark loong64 as FMA-using architecture
hannesbraun Feb 26, 2025
3f2e1c0
commands: Skip flaky test on Windows
bep Mar 3, 2025
eebea9e
tpl: Add trailing newline to robots.txt template
willfaught Mar 3, 2025
93df176
commands: Add --omitEmpty flag to gen chromastyles
jmooring Mar 7, 2025
93d9c05
build(deps): bump github.com/bep/simplecobra from 0.5.0 to 0.6.0
dependabot[bot] Feb 27, 2025
b068671
build(deps): bump github.com/bep/imagemeta from 0.8.4 to 0.9.0
dependabot[bot] Feb 27, 2025
b9add1c
tpl/tplimpl: Add loading attribute to Vimeo shortcode
jmooring Feb 27, 2025
f9aae15
build(deps): bump github.com/bep/lazycache from 0.7.0 to 0.8.0
dependabot[bot] Mar 11, 2025
d78d4cf
build(deps): bump github.com/bep/overlayfs from 0.9.2 to 0.10.0
dependabot[bot] Mar 11, 2025
2037137
deps: Upgrade golang.org/x/mod v0.23.0 => v0.24.0
bep Mar 12, 2025
61c39ae
build(deps): bump golang.org/x/image from 0.24.0 to 0.25.0
dependabot[bot] Mar 13, 2025
d28c84a
cache: Apply httpcache defaults for polling config
khayyamsaleem Mar 14, 2025
a98ec3b
commands/gen: Set url in command pages to /docs/reference/commands/
jmooring Mar 13, 2025
f4f21f5
build(deps): bump github.com/bep/godartsass/v2 from 2.3.2 to 2.4.0
dependabot[bot] Mar 11, 2025
52561d5
identity: Use clear to clear the finder seen map
bep Mar 15, 2025
f34cdc3
parser/metadecoder: Improve errors for non-map XML root values
thevilledev Mar 22, 2025
a6bd677
common/hexec: Remove github.com/cli/safeexec
jmooring Mar 22, 2025
e9bd237
build(deps): bump golang.org/x/net from 0.35.0 to 0.37.0
dependabot[bot] Mar 13, 2025
3968f91
build(deps): bump github.com/bep/godartsass/v2 from 2.4.0 to 2.4.1
dependabot[bot] Mar 24, 2025
17db4ed
build(deps): bump github.com/evanw/esbuild from 0.24.2 to 0.25.1
dependabot[bot] Mar 23, 2025
1c69135
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2
dependabot[bot] Mar 21, 2025
bddd2f9
build(deps): bump github.com/bep/imagemeta from 0.9.0 to 0.10.0
dependabot[bot] Mar 24, 2025
7ca6bb0
build(deps): bump github.com/spf13/afero from 1.11.0 to 1.14.0
dependabot[bot] Mar 25, 2025
ebc0693
build(deps): bump github.com/getkin/kin-openapi from 0.129.0 to 0.131.0
dependabot[bot] Mar 25, 2025
26d986f
build(deps): bump golang.org/x/tools from 0.30.0 to 0.31.0
dependabot[bot] Mar 24, 2025
8d2379b
common/hreflect: Replace the map/RWMutex method cache with sync.Map
bep Mar 26, 2025
6f14dbe
tpl/tplimpl: Fix full screen option in vimeo and youtube shortcodes
jmooring Mar 26, 2025
c15ebce
resources: Add option to silence dependency deprecation warnings
jmooring Mar 27, 2025
07cbe57
tpl/time: Add time.In function
jmooring Apr 1, 2025
812ea0b
config: Use the non-global logger for deprecations when possible
bep Apr 3, 2025
83cfdd7
Reimplement and simplify Hugo's template system
bep Apr 6, 2025
1e00842
tpl/tplimpl: Update embedded pagination template
jmooring Apr 3, 2025
10b5543
deps: Upgrade github.com/gohugoio/hugo-goldmark-extensions/passthroug…
jmooring Mar 30, 2025
43af3bc
build(deps): bump github.com/bep/imagemeta from 0.10.0 to 0.11.0
dependabot[bot] Apr 8, 2025
e6e18e9
build(deps): bump golang.org/x/net from 0.37.0 to 0.39.0
dependabot[bot] Apr 8, 2025
24ac6a9
commands/new: Improve theme creation
jmooring Mar 30, 2025
d63491b
build(deps): bump github.com/alecthomas/chroma/v2 from 2.15.0 to 2.16.0
dependabot[bot] Apr 9, 2025
650fe6c
build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4
dependabot[bot] Apr 9, 2025
af0602c
build(deps): bump golang.org/x/image from 0.25.0 to 0.26.0
dependabot[bot] Apr 8, 2025
d4c6dd1
tpl: Add templates.Current
bep Apr 8, 2025
8cd799a
build(deps): bump github.com/evanw/esbuild from 0.25.1 to 0.25.2
dependabot[bot] Apr 10, 2025
cd3e349
build(deps): bump golang.org/x/tools from 0.31.0 to 0.32.0
dependabot[bot] Apr 10, 2025
18d2d2f
build(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0
dependabot[bot] Apr 10, 2025
208a0de
tpl: Add a partial lookup cache
bep Apr 10, 2025
5be51ac
Squashed 'docs/' changes from d1a251933..dc7a9ae12
bep Apr 10, 2025
653f1c1
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
bep Apr 10, 2025
383dd82
tpl: Warn and skip non-hook templates inside /layouts/_markup
bep Apr 10, 2025
5d1b9d3
releaser: Bump versions for release of 0.146.0
bep Apr 10, 2025
648204b
releaser: Prepare repository for 0.147.0-DEV
bep Apr 10, 2025
3b9f2a7
tpl: Skip dot and temp files inside /layouts
bep Apr 10, 2025
acc4fe2
releaser: Bump versions for release of 0.146.1
bep Apr 10, 2025
e3e3f9a
releaser: Prepare repository for 0.147.0-DEV
bep Apr 10, 2025
9221cbc
tpl: Fix some baseof lookup issues
bep Apr 11, 2025
c19f1f2
tpl: Resolve layouts/all.html for all html output formats
bep Apr 11, 2025
1074e01
tpl: Fix legacy section mappings
bep Apr 11, 2025
d1c3944
tpl: Fix codeblock hook resolve issue
bep Apr 11, 2025
ff3ab19
releaser: Bump versions for release of 0.146.2
bep Apr 11, 2025
53221f8
releaser: Prepare repository for 0.147.0-DEV
bep Apr 11, 2025
c871062
tpl: Fix it so embedded render-codeblock-goat is used even if custom …
bep Apr 12, 2025
30b9c19
tpl: Make any layout set in front matter higher priority
bep Apr 12, 2025
05ef8b7
releaser: Bump versions for release of 0.146.3
bep Apr 12, 2025
915ba3f
releaser: Prepare repository for 0.147.0-DEV
bep Apr 12, 2025
1e0287f
tpl: Make {{ template "partials/foo.html" . }} work in older setups
bep Apr 14, 2025
8a2830f
tpl: Add proper file context to template parse errors
bep Apr 14, 2025
cf9e690
tpl: Fix the case for a shortcode in a nested folder only
bep Apr 14, 2025
e8e8ce1
tpl: Avoid panic on nonsensical return construct
bep Apr 14, 2025
65c94c7
tpl: Fix issue with partials without suffix
bep Apr 14, 2025
985af1c
releaser: Bump versions for release of 0.146.4
bep Apr 14, 2025
0166727
releaser: Prepare repository for 0.147.0-DEV
bep Apr 14, 2025
d61b9fc
tpl: Fix language handling in partials
bep Apr 15, 2025
64cf008
build(deps): bump github.com/yuin/goldmark from 1.7.8 to 1.7.9
dependabot[bot] Apr 15, 2025
6132897
releaser: Bump versions for release of 0.146.5
bep Apr 15, 2025
d5a8c33
releaser: Prepare repository for 0.147.0-DEV
bep Apr 15, 2025
a88b488
Update watchtestscripts.sh
saikadaramakaisosjupita Apr 15, 2024
088cd2f
tpl: Fix when layout specified in front matter and no match is found
bep Apr 20, 2025
1e0b058
releaser: Bump versions for release of 0.146.6
bep Apr 20, 2025
99fff29
releaser: Prepare repository for 0.147.0-DEV
bep Apr 20, 2025
be3b147
build(deps): bump github.com/yuin/goldmark from 1.7.9 to 1.7.10
dependabot[bot] Apr 16, 2025
1408c15
tpl: Detect and fail on infinite template recursion
bep Apr 20, 2025
5e62cc6
tpl: Fix layout fall back logic when layout is set in front matter bu…
bep Apr 21, 2025
4eb0e42
tpl/collections: Fix where ... not in with empty slice
bep Apr 21, 2025
9c65b9e
build(deps): bump github.com/bep/imagemeta from 0.11.0 to 0.12.0
dependabot[bot] Apr 21, 2025
ad78761
build(deps): bump github.com/yuin/goldmark-emoji from 1.0.5 to 1.0.6
dependabot[bot] Apr 21, 2025
db72a1f
parser/metadecoders: Add CSV targetType (map or slice) option to tran…
jmooring Apr 21, 2025
6d69dc8
tpl: Fix indeterminate template lookup with templates with and withou…
bep Apr 21, 2025
4967308
Revert the breaking change from 0.146.0 with dots in content filenames
bep Apr 21, 2025
1ad3d39
releaser: Bump versions for release of 0.146.7
bep Apr 22, 2025
df44ee1
releaser: Prepare repository for 0.147.0-DEV
bep Apr 22, 2025
41cb880
build(deps): bump github.com/alecthomas/chroma/v2 from 2.16.0 to 2.17.0
dependabot[bot] Apr 23, 2025
1bd7ac7
build(deps): bump github.com/evanw/esbuild from 0.25.2 to 0.25.3
dependabot[bot] Apr 23, 2025
6a0e042
all: Fix typos
coliff Apr 24, 2025
61a2865
Merge commit 'b3d87dd0fd746f07f9afa6e6a2969aea41da6a38'
bep Apr 24, 2025
b3d87dd
Squashed 'docs/' changes from dc7a9ae12..b654fcba0
bep Apr 24, 2025
179aea1
config: Fix _merge issue when key doesn't exist on the left side
bep Apr 23, 2025
2fce0ba
images: Add option for vertical alignment to images.Text
pranshugaba Feb 17, 2025
5320231
images: Add some test cases for aligny on images.Text
bep Apr 24, 2025
ad4f63c
tpl: Remove some unreached code branches
bep Apr 14, 2025
75b219d
create/skeletons: Adjust template names in theme skeleton
jmooring Apr 24, 2025
5c49140
tpl/tplimpl: Fix allowFullScreen option in Vimeo and YouTube shortcodes
jmooring Apr 24, 2025
07983e0
tpl: Fix it so we always prefer internal codeblock rendering over ren…
bep Apr 25, 2025
7d0039b
releaser: Bump versions for release of 0.147.0
bep Apr 25, 2025
5857b60
releaser: Prepare repository for 0.148.0-DEV
bep Apr 25, 2025
31db7ed
hugolib: Use new build key in content placeholder
jmooring Apr 26, 2025
673a4d0
commands/server: Display correct multihost language in console
jmooring Apr 27, 2025
a1cb15e
Fix it so the owning taxonomy gets rerendered in server when new tags…
bep Apr 27, 2025
be93d52
tpl: Fix overlapping layout sections
bep Apr 30, 2025
927d1ec
build(deps): bump github.com/yuin/goldmark from 1.7.10 to 1.7.11
dependabot[bot] Apr 28, 2025
5fec782
tpl: Add some more test cases
bep May 1, 2025
8b2124e
build(deps): bump github.com/getkin/kin-openapi from 0.131.0 to 0.132.0
dependabot[bot] May 1, 2025
620fc87
build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.0 to 2.17.2
dependabot[bot] May 1, 2025
95666fc
releaser: Bump versions for release of 0.147.1
bep May 1, 2025
d799c04
releaser: Prepare repository for 0.148.0-DEV
bep May 1, 2025
b39b249
config: Add some more merge tests
bep May 2, 2025
80f0595
tpl: Fix case issue in templates.Exists
bep May 5, 2025
363ab48
Fix handling of "outputs" from content adapter pages
bep May 6, 2025
c7feb15
releaser: Bump versions for release of 0.147.2
bep May 6, 2025
d70f828
releaser: Prepare repository for 0.148.0-DEV
bep May 6, 2025
325a0db
tpl/math: Add MaxInt64 function
jmooring May 6, 2025
84d7a10
tpl/tplimpl: Fix vimeo shortcode test to accommodate API changes
jmooring May 9, 2025
9d1d8c8
commands: Fix description of new theme commands
jmooring May 9, 2025
c745a3e
Fix/implement cascade for content adapters
bep May 7, 2025
bc98e7a
config: Fix env override of slices
bep May 11, 2025
6def5a1
Update README.md
bep May 12, 2025
8142699
tpl/tplimpl: Change calls to simple versions of embedded shortcodes
jmooring May 11, 2025
0541751
releaser: Bump versions for release of 0.147.3
bep May 12, 2025
e6574cf
releaser: Prepare repository for 0.148.0-DEV
bep May 12, 2025
6142bc7
tpl: Fix theme overrides when theme has old layout setup (e.g. _default)
bep May 16, 2025
6131782
tpl: Narrow down the usage of plain text shortcodes when rendering HTML
bep May 16, 2025
5a81a3a
tpl: Add a test case
bep May 17, 2025
a03a245
Fix it so css.TailwindCSS inlineImports options isn't always enabled
bep May 19, 2025
84c8426
releaser: Bump versions for release of 0.147.4
bep May 20, 2025
b9b95e5
releaser: Prepare repository for 0.148.0-DEV
bep May 20, 2025
970b887
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.23.5
dependabot[bot] May 9, 2025
0c7b1a3
Fix live reload when editing inline partials
bep May 21, 2025
4a48fac
Merge branch 'release-0.147.4'
bep May 22, 2025
7766fc6
releaser: Bump versions for release of 0.147.5
bep May 22, 2025
e25db38
releaser: Prepare repository for 0.148.0-DEV
bep May 22, 2025
013c8cf
tpl/transform: Expose the KaTeX strict option
jmooring May 23, 2025
f471936
commands: Make sure the browser gets refreshed on changes when --disa…
bep May 23, 2025
9ad26b6
Fix it so e.g. de in layouts/_shortcodes/de.html is not interpreted a…
bep May 26, 2025
eaf5ace
Fix recent regression with cascading of params to content adapters
bep May 26, 2025
e57dcd3
Improve warning message on superfluous prefix when using function 'pa…
deining May 26, 2025
0a5fd8e
releaser: Bump versions for release of 0.147.6
bep May 27, 2025
463e440
releaser: Prepare repository for 0.148.0-DEV
bep May 27, 2025
13e1617
deps: Upgrade github.com/olekukonko/tablewriter v0.0.5 => v1.0.7
bep May 28, 2025
766a2e7
Make sure that unreferenced but changed bundle resources gets republi…
bep May 28, 2025
6bd328c
resources: Remove unused interface
bep May 28, 2025
da370d3
parser/pageparser: Add coverage for all IsX methods of Item
pixel365 May 26, 2025
bff5d19
common/collections: Increase test coverage
pixel365 May 27, 2025
843ffeb
resources/page: Respect disablePathToLower for permalink tokens
jmooring May 29, 2025
202fe0d
build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0
dependabot[bot] May 29, 2025
302e6a7
build(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0
dependabot[bot] May 29, 2025
0df9f35
build(deps): bump golang.org/x/text from 0.24.0 to 0.25.0
dependabot[bot] May 30, 2025
7525963
build(deps): bump golang.org/x/image from 0.26.0 to 0.27.0
dependabot[bot] May 30, 2025
6334948
Handle KaTeX warnings (#13760)
bep May 30, 2025
5273a88
Fix language handling in shortcode templates
bep May 31, 2025
1894536
releaser: Bump versions for release of 0.147.7
bep May 31, 2025
32af02c
releaser: Prepare repository for 0.148.0-DEV
bep May 31, 2025
32eb1a8
all: Replace _build with build in tests
bep Jun 2, 2025
cc7bfee
build(deps): bump github.com/tdewolff/minify/v2 from 2.23.5 to 2.23.8
dependabot[bot] May 30, 2025
e333836
build(deps): bump github.com/yuin/goldmark from 1.7.11 to 1.7.12
dependabot[bot] Jun 2, 2025
54065b7
build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0
dependabot[bot] Jun 2, 2025
7a4a479
build(deps): bump github.com/niklasfasching/go-org from 1.7.0 to 1.8.0
dependabot[bot] Jun 3, 2025
21a4a9a
build(deps): bump github.com/evanw/esbuild from 0.25.3 to 0.25.5
dependabot[bot] Jun 3, 2025
f37412a
dockerfile: Update Go version
bep Jun 4, 2025
8e61f1f
dockerfile: Update Alpine
bep Jun 6, 2025
01241d5
hugolib: Emit ignorable warning when home page is a leaf bundle
jmooring Jun 6, 2025
10da2bd
releaser: Bump versions for release of 0.147.8
bep Jun 7, 2025
fad5796
releaser: Prepare repository for 0.148.0-DEV
bep Jun 7, 2025
4217fee
common/terminal: Enable color output on windows
jmooring Jun 8, 2025
b5c0383
deps: Upgrade github.com/spf13/cast v1.8.0 => v1.9.2
jmooring Jun 10, 2025
4d3ebe4
build(deps): bump golang.org/x/image from 0.27.0 to 0.28.0
dependabot[bot] Jun 12, 2025
34e8378
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.36.1 to 1.36.4
dependabot[bot] Jun 13, 2025
4ef5720
hugolib: Remove test for deprecated future
bep Jun 13, 2025
621ea42
build(deps): bump google.golang.org/api from 0.221.0 to 0.237.0
dependabot[bot] Jun 13, 2025
b6c8dfa
tpl/tplimpl: Change resources.GetRemote errors to suppressible warnings
jmooring Jun 17, 2025
18a9ca7
tpl/tplimpl: Copy embedded HTML table render hook to each output format
jmooring Jun 20, 2025
36f6f98
resources/page: Make sure a map is always initialized
bep Jun 19, 2025
6a4a3ab
Remove WARN with false negatives
bep Jun 22, 2025
29bdbde
releaser: Bump versions for release of 0.147.9
bep Jun 23, 2025
7624176
releaser: Prepare repository for 0.148.0-DEV
bep Jun 23, 2025
dd6e2c8
deploy: walkLocal worker pool for performance
davidejones Jun 29, 2025
cfc8d31
hugolib: Honor implicit "page" type during template selection
jmooring Jul 2, 2025
1e9a0b9
build(deps): bump golang.org/x/tools from 0.32.0 to 0.34.0
dependabot[bot] Jun 13, 2025
1b4c423
resources/page: Allow full datetime prefix in filenames
jmooring Jul 4, 2025
f967212
Fix branch paths when OutputFormat.Path is configured (note)
bep Jul 5, 2025
b8ba33c
Fix some uglyURLs issues for home, section and taxonomy kind (note)
bep Jul 5, 2025
84b3172
markup/goldmark: Change link and image render hook enablement to enums
jmooring Jun 21, 2025
9487acf
build(deps): bump github.com/alecthomas/chroma/v2 from 2.18.0 to 2.19.0
dependabot[bot] Jul 4, 2025
e77b2ad
build(deps): bump github.com/niklasfasching/go-org from 1.8.0 to 1.9.0
dependabot[bot] Jul 4, 2025
266d46d
config: Increase test coverage
pixel365 May 29, 2025
bb147f9
Squashed 'docs/' changes from b654fcba0..60dd993a6
bep Jul 7, 2025
e4f6b9e
Merge commit 'bb147f91ee9078e6a55e8c32ab4b2e5dbc5cee45'
bep Jul 7, 2025
61e6c73
source: Expose Ancestor in GitInfo
jenbroek Mar 26, 2025
90d397b
Remove the internal GitInfo type and make Page.GitInf() return a pointer
bep Jul 7, 2025
94e2c27
build(deps): bump github.com/olekukonko/tablewriter from 1.0.7 to 1.0.8
dependabot[bot] Jul 7, 2025
bba6996
Allow creating home pages from content adapters
bep Jun 15, 2025
0a5b870
build(deps): bump github.com/evanw/esbuild from 0.25.5 to 0.25.6
dependabot[bot] Jul 8, 2025
3e2f1cd
Add Ancestors (plural) method to GitInfo, rename Ancestor field to Pa…
bep Jul 7, 2025
c0d9beb
releaser: Bump versions for release of 0.148.0
bep Jul 8, 2025
65893ef
releaser: Prepare repository for 0.149.0-DEV
bep Jul 8, 2025
a84beee
deps: Downgrade github.com/niklasfasching/go-org v1.9.0 => v1.8.0
bep Jul 10, 2025
6f42cfb
Fix assignment to entry in nil map
bep Jul 10, 2025
98ba786
releaser: Bump versions for release of 0.148.1
bep Jul 11, 2025
bbcc2a7
releaser: Prepare repository for 0.149.0-DEV
bep Jul 11, 2025
d240a70
commands: Avoid full browser refresh on simple CSS changes
bep Jul 27, 2025
9c57af1
Fix regression with hyphenated codeblock templates, e.g. render-codeb…
bep Jul 27, 2025
3937ab2
Revert "hugolib: Honor implicit "page" type during template selection"
bep Jul 27, 2025
7ff5ec7
tpl: Add test for recent template selection regression
bep Jul 27, 2025
40c3d82
releaser: Bump versions for release of 0.148.2
bep Jul 27, 2025
3aa22b0
releaser: Prepare repository for 0.149.0-DEV
bep Jul 27, 2025
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.22400.20000
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 "[email protected]"
git config --global user.name "hugoreleaser"
- run:
command: |
git clone [email protected]: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 "[email protected]"
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.22400.20000
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Docker meta
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
with:
images: ${{ env.REGISTRY_IMAGE }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1

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

- name: Build and push
id: build
uses: docker/build-push-action@16ebe778df0e7752d2cfcbd924afdbbd89c1a755 # v6.6.1
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@7de207be1d3ce97a9abe6ff1306222982d1ca9f9 # v5.0.1
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@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.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 is 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