Julia Evans
5bb22b6b4e
hugolib: Make .Site.Author deprecation warning clearer
...
Fixes #12269
2024-10-14 09:16:11 +02:00
Bjørn Erik Pedersen
41f69a7255
Upgrade to latest Go version + Some Docker image improvements (note)
...
* Rename /site to /project
* Add ldflags
* Add go and node to the default image
* Add Dart Sass to the default image
* Build the extended version by default
* Add "npm i" install support with custom entry script override
* Adjust cache logic to speed up CGO rebuilds
Closes #12920
See #12885
2024-10-13 20:01:37 +02:00
David Karlsson
4a79956276
ci: Build multi-platform image with cross-compilation
...
The previous build workflow used emulation to build the Docker image,
which results in a somewhat complicated push-by-digest and merge
workflow to create a multi-platform image.
This commit changes the Docker build to use cross-compilation instead,
resulting in a faster and more straightforward build.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-13 20:01:37 +02:00
Patrice Chalin
039845804f
tpl/tplimpl: Trim descriptions rather than just chomp
2024-10-12 22:41:42 +02:00
dependabot[bot]
9b635522e2
build(deps): bump golang.org/x/tools from 0.23.0 to 0.26.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.23.0 to 0.26.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.23.0...v0.26.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>
2024-10-11 15:41:03 +02:00
dependabot[bot]
3223a65c9b
build(deps): bump github.com/rogpeppe/go-internal from 1.12.0 to 1.13.1
...
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal ) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/rogpeppe/go-internal/releases )
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.12.0...v1.13.1 )
---
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>
2024-10-11 15:39:22 +02:00
dependabot[bot]
bc6fc47727
build(deps): bump github.com/evanw/esbuild from 0.23.1 to 0.24.0
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.23.1 to 0.24.0.
- [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.23.1...v0.24.0 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 15:36:02 +02:00
dependabot[bot]
ffb41d1111
build(deps): bump github.com/hairyhenderson/go-codeowners
...
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/hairyhenderson/go-codeowners/releases )
- [Changelog](https://github.com/hairyhenderson/go-codeowners/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hairyhenderson/go-codeowners/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/hairyhenderson/go-codeowners
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-09 10:34:59 +02:00
Joe Mooring
5b0b663ec3
tailwind: Pin Tailwind 4 test to alpha 26 or later
2024-10-06 22:15:17 +02:00
Joe Mooring
3f68309148
resources/page: Treat null dates as zero dates
...
Closes #12906
2024-10-06 20:35:25 +02:00
Joe Mooring
ab03588db9
resources/page: Improve front matter date validation
...
Improve the error message and treat empty strings as zero dates.
Closes #12898
2024-10-05 15:29:57 +02:00
Bjørn Erik Pedersen
0450d69fc6
commands: Add "hugo build" as an alias for "hugo"
...
Closes #11391
2024-09-30 10:36:29 +02:00
Joe Mooring
1158e63072
markup/goldmark: Change default cell alignment in table render hook
...
Change the default table cell alignment from "left" to an empty string.
Closes #12886
2024-09-30 08:44:14 +02:00
Joe Mooring
d1ba52f3c3
tests: Address deprecation warnings and errors
2024-09-29 10:49:26 +02:00
hugoreleaser
d0dca65625
releaser: Prepare repository for 0.136.0-DEV
...
[ci skip]
2024-09-27 13:32:22 +00:00
hugoreleaser
f30603c47f
releaser: Bump versions for release of 0.135.0
...
[ci skip]
2024-09-27 13:17:08 +00:00
dependabot[bot]
12c9ce34bb
build(deps): bump golang.org/x/mod from 0.19.0 to 0.21.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.19.0 to 0.21.0.
- [Commits](https://github.com/golang/mod/compare/v0.19.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 14:03:14 +02:00
dependabot[bot]
47b055589c
build(deps): bump github.com/bep/helpers from 0.4.0 to 0.5.0
...
Bumps [github.com/bep/helpers](https://github.com/bep/helpers ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/bep/helpers/releases )
- [Commits](https://github.com/bep/helpers/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/helpers
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 12:24:02 +02:00
dependabot[bot]
e56ea40666
build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 12:22:52 +02:00
Joe Mooring
4c02a52f7c
resources/page: Validate predefined front matter dates
...
Closes #10717
2024-09-27 11:19:27 +02:00
dependabot[bot]
578442f892
build(deps): bump golang.org/x/image from 0.19.0 to 0.20.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/image/compare/v0.19.0...v0.20.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>
2024-09-27 11:07:23 +02:00
Bjørn Erik Pedersen
0d390d7eb8
github: Trigger image workflow on release.published
...
Updates #12753
2024-09-27 10:59:45 +02:00
Bjørn Erik Pedersen
da72ac2db9
tailwind: Pin Tailwind 4 test to alpha 24
...
See #12880
2024-09-27 10:36:25 +02:00
Joe Mooring
0ea796dad1
tpl/compare: Use any data type for compare.Conditional condition
...
Improves #5792
2024-09-22 16:53:11 +02:00
Khayyam Saleem
1e690c0f23
deps: Upgrade github.com/gobuffalo/flect v1.0.2 => v1.0.3
...
Closes #12827
2024-09-21 19:10:34 +02:00
hugoreleaser
a619deec18
releaser: Prepare repository for 0.135.0-DEV
...
[ci skip]
2024-09-19 14:42:46 +00:00
hugoreleaser
5fb333b9f5
releaser: Bump versions for release of 0.134.3
...
[ci skip]
2024-09-19 14:28:20 +00:00
Bjørn Erik Pedersen
e07028cb90
tpl: Remove RSS deprecation site.Author check
...
The check itself creates a warning which I guess was not intended.
We could possibly make that work, but it has been deprecated since Hugo 0.98, so just remove the usage.
2024-09-19 13:39:40 +02:00
Bjørn Erik Pedersen
22a9f3fc98
modules: Improve console output on hugo mod init
...
Replace some of the stderr output from the Go command to match the Hugo commands needed:
```
go: creating new go.mod: module github.com/bep/foo
hugo: to add module requirements and sums:
hugo mod tidy
```
See #11458
2024-09-19 12:26:04 +02:00
Bjørn Erik Pedersen
e363964f2f
commands: Ignore "module does not exist" errors in hugo mod init
...
Closes #11458
2024-09-19 12:26:04 +02:00
David Else
c260cb28a9
Add exclusion for helix .bck files
...
Updates #12677
2024-09-18 10:53:18 +02:00
Bjørn Erik Pedersen
e079145373
hugolib: Move hugolib/site_new.go into hugolib/site.go
2024-09-17 10:15:14 +02:00
Joe Mooring
5b442b3cce
libsass: Resolve directory paths to directory index files
...
Closes #12851
2024-09-16 09:34:14 +02:00
Joe Mooring
2bc27657d8
dartsass: Resolve directory paths to directory index files
...
Closes #12849
2024-09-15 20:32:11 +02:00
Bjørn Erik Pedersen
28f621d4a7
internal/warpc: Improve the JS plugin API
...
* Move the error handling into commons and make sure the error returned also returns message errors
* Make the protocol version an int so it can be more easily compared
2024-09-12 13:51:37 +02:00
hugoreleaser
fe7e137e28
releaser: Prepare repository for 0.135.0-DEV
...
[ci skip]
2024-09-10 11:00:15 +00:00
hugoreleaser
1c74abd260
releaser: Bump versions for release of 0.134.2
...
[ci skip]
2024-09-10 10:46:33 +00:00
Bjørn Erik Pedersen
3d6baedaec
Don't count HTML markup in auto summaries
...
This commit also fixes a bug where a `</picture>` end tag was wrongly used to detect a end paragraph. This should be very rare, though.
Closes #12837
2024-09-10 11:03:47 +02:00
hugoreleaser
84ee00bbc2
releaser: Prepare repository for 0.135.0-DEV
...
[ci skip]
2024-09-05 10:32:40 +00:00
hugoreleaser
2f89169baa
releaser: Bump versions for release of 0.134.1
...
[ci skip]
2024-09-05 10:17:50 +00:00
Bjørn Erik Pedersen
66a3a11001
Fix stray end p tag in Obsidian callout titles
...
Also remove test references to deprecated funcs now in ERROR.
Closes #12828
2024-09-05 12:12:24 +02:00
Bjørn Erik Pedersen
8f2eac0195
Make ContentWithoutSummary return Content when summary is fetched from front matter
...
Fixes #12822
2024-09-05 12:12:24 +02:00
Bjørn Erik Pedersen
b570a5f118
Merge commit '39fd3b557014e339bc6c68a7ff34a7734a735ee0'
2024-09-04 18:57:34 +02:00
Bjørn Erik Pedersen
39fd3b5570
Squashed 'docs/' changes from a49697e53..ccb1b97cb
...
ccb1b97cb Update blockquotes.md
a5f51431c Add new-in label
39dac5838 Document ContentWithoutSummary
de3c75694 Clarify blockquote render hook Markdown syntax
d32f7856d Document change to data type returned by render hook Text methods
83fe7ccc3 Document table render hooks
601234147 netlify: Hugo 0.134.0
a583640a0 Add support for Obsidian type blockquote alerts
3e0080861 Merge commit 'dec8cd4ada29218971743333f8ac662a9c06aad8'
2dde06576 output: Fix docshelper template lookup order for AMP pages
git-subtree-dir: docs
git-subtree-split: ccb1b97cbb11e60aab0108b33a270cccdd2218f6
2024-09-04 18:52:05 +02:00
hugoreleaser
aacff7aff4
releaser: Prepare repository for 0.135.0-DEV
...
[ci skip]
2024-09-03 10:14:44 +00:00
hugoreleaser
77df7bbbff
releaser: Bump versions for release of 0.134.0
...
[ci skip]
2024-09-03 09:54:22 +00:00
Aymen Rachdi
ae3815898f
Update Dockerfile
2024-09-02 21:56:33 +02:00
Bjørn Erik Pedersen
504a23184f
markup/goldmark/blockquotes: Improve some tests
2024-09-01 18:25:10 +02:00
Bjørn Erik Pedersen
e651d29801
Add support for Obsidian type blockquote alerts
...
* Make the alert type parsing more flexible to support more types
* Add `AlertTitle` and `AlertSign` (for folding)
Note that GitHub will not render callouts with alert title/sign.
See https://help.obsidian.md/Editing+and+formatting/Callouts
Closes #12805
Closes #12801
2024-09-01 18:12:26 +02:00
Bjørn Erik Pedersen
dec8cd4ada
Squashed 'docs/' changes from fcc3ed651..a49697e53
...
a49697e53 Add private use subtag requirements to multilingual page
a5c6bb4da Add INFINI Pizza search engine
45b732efa Fix template lookup order for AMP pages
30c672d0b netlify: Hugo 0.133.1
7c766e724 Update page resources documentation
ca802fbec Document how to enable AsciiDoc syntax highlighting
c3350f4cf Update definition of falsy to include zero time.Time values
b0e5ab051 Fir typo
60f6cb63b Update migrations.md
ec52c7ba1 Improve formatting of example code
e5681ad01 Improve formatting of example code
bdf3ffc73 Clarify the various next/prev methods
b5505d22a Clarify template lookup order for shortcodes
cf8dd7034 Improve embedded.md
e5dee2651 Update transform.ToMath
4d419a128 Update pagination configuration to use new struct
05d4fd597 Update PrevInSection.md
fd33370ed Add new-in 0.133.0
f9062042f Add the new page config section
205645e97 Remove out-dated new-in
3ed3673f7 Fix typo
41df91659 Document the 'else with' construct introduced with Go 1.23
9c4697ab3 netlify: Hugo 0.133.0
62506b052 Merge branch 'temp133'
877e1bfcd Add config options page.nextPrevSortOrder/nextPrevInSectionSortOrder
eb159fe62 Update menu.md
efa7795a0 Update theme
dbe8911ad netlify: Hugo 0.132.2
2f793d328 Document passthrough render hooks
a7ce9a5e8 netlify: Hugo 0.132.1
2c137cb48 Update blockquotes.md
e0fa2f0d1 Add new-in badge to blockquote render hook page
bf42bbe6b Update references to render hooks
85a3d9958 Update theme
2dae72128 Document blockquote render hooks
8f5afb55d Update plainify return type
160f22d0e netlify: Hugo 0.132.0
82b5586fb Document transform.ToMath
1efcbcddb tpl/transform: Make Plainify and ToMath return template.HTML
31727be2e docs: Regen docshelper
88a421426 Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'
git-subtree-dir: docs
git-subtree-split: a49697e536ee0d477ab4e552cfa8dc74debeff27
2024-09-01 14:51:15 +02:00