Bjørn Erik Pedersen
a6d774e809
docs: Regenerate CLI docs
2023-06-01 10:51:41 +02:00
Bjørn Erik Pedersen
dfb1895e4b
Squashed 'docs/' changes from 1798dc0d5..1d5548d73
...
1d5548d73 build.cachebusters
3c966904d netlify: Hugo 0.112.5
b32c3a811 Bump min Go version to 1.19 when building from source (#2095 )
9dea2d2f9 netlify: Hugo 0.112.4
b3fb4a1bc docs: Regenerate CLI docs
291ecd301 docs: Regen CLI docs
c886958e2 Merge commit 'd3927310d5b2404c3238f9b899db3329ea516490'
git-subtree-dir: docs
git-subtree-split: 1d5548d7355be39364404a67eee7186d5ea71930
2023-06-01 10:51:24 +02:00
Bjørn Erik Pedersen
9e4072ac23
Merge commit 'dfb1895e4b82b2249d9baaed37ac7ae5e855a126'
2023-06-01 10:51:24 +02:00
Bjørn Erik Pedersen
0ef2952846
commands: Add --lang to hugo config
...
Fixes #11057
2023-06-01 10:49:21 +02:00
Bjørn Erik Pedersen
e3ae8f025d
Make sure any default mounts show up in "hugo config"
...
Fixes #11040
2023-06-01 10:49:21 +02:00
Bjørn Erik Pedersen
06faee5beb
github: Fix Windows build
...
Also update some Actions to get rid of some warnings.
Fixes #11052
2023-06-01 09:54:40 +02:00
Joe Mooring
409c6c3fcd
deps: Update github.com/tdewolff/minify/v2 v2.12.5 => v2.12.6
2023-05-31 08:08:26 +02:00
Joe Mooring
ff77a927f9
tpl/tplimpl: Use .Language.LanguageCode in built-in templates
2023-05-30 20:10:16 +02:00
Bjørn Erik Pedersen
9cdca1f958
Fail on invalid defaultContentLanguage
...
Fixes #11044
2023-05-30 15:59:43 +02:00
Bjørn Erik Pedersen
6462eecfbd
Avoid panic in invalid language config
...
Fixes #11046
2023-05-30 15:59:43 +02:00
Bjørn Erik Pedersen
a7d6b1413f
Don't panic on empty yaml config params
...
Fixes #11047
2023-05-30 15:59:43 +02:00
Bjørn Erik Pedersen
3f497d496f
Prevent double escaping of image alt-text in Goldmar typographer
...
Fixes #11045
2023-05-30 15:03:54 +02:00
Bjørn Erik Pedersen
32585696be
Fix potential deadlock in ByParam
...
Fixes #11039
2023-05-29 14:01:07 +02:00
hugoreleaser
d47225ce9e
releaser: Bump versions for release of 0.112.5
...
[ci skip]
2023-05-29 06:43:02 +00:00
Bjørn Erik Pedersen
e3dfc76fa8
Fix it so languageCode on top level config still works
...
This is common for monolingual sites, and we broke this in Hugo 0.112.4.
Fixes #11037
2023-05-28 18:42:10 +02:00
hugoreleaser
cd59216de4
releaser: Prepare repository for 0.113.0-DEV
...
[ci skip]
2023-05-28 13:15:07 +00:00
hugoreleaser
e285153d7f
releaser: Bump versions for release of 0.112.4
...
[ci skip]
2023-05-28 13:04:00 +00:00
Bjørn Erik Pedersen
20ea2e0c65
docs: Regenerate CLI docs
2023-05-28 13:07:47 +02:00
Bjørn Erik Pedersen
51d0a0ab01
commands: Add the common build flags to the config commands
...
Which allows to see the config with `--theme` applied.
Updates #11018
2023-05-28 13:06:26 +02:00
Bjørn Erik Pedersen
fd099331ec
Fix Processed images count regression for multiple languages
...
Fixes #11002
2023-05-28 12:55:44 +02:00
Bjørn Erik Pedersen
43f1282e73
commands: Reinstate some of the removed build flags (e.g. --theme) to new and mod
...
Fixes #11018
2023-05-28 12:55:44 +02:00
Bjørn Erik Pedersen
e96cdfe966
Don't create the public folder unless needed
...
Fixes #11031
2023-05-28 12:55:44 +02:00
Bjørn Erik Pedersen
ffdbce5787
docs: Regen CLI docs
2023-05-27 17:03:14 +02:00
Bjørn Erik Pedersen
a838a27e4c
Merge commit 'd3927310d5b2404c3238f9b899db3329ea516490'
2023-05-27 17:02:23 +02:00
Bjørn Erik Pedersen
d3927310d5
Squashed 'docs/' changes from 39af43ef1..1798dc0d5
...
1798dc0d5 Update theme
403fa716e Update CLI documentation (#2092 )
aade5a09e Correct media subtype example
53cd9dea6 netlify: Hugo 0.112.3
b78b86cb1 Add source/target warning to resources.Copy (#2091 )
50c299729 netlify: Hugo 0.112.2
73197046f Change config.xxx to hugo.xxx throughout the documentation (#2090 )
d489d4c6f Add hugo.WorkingDir to docs (#2089 )
7487df809 Fix typos (#2088 )
6d0572cd6 netlify: Hugo 0.112.1
6838600b2 netlify: Hugo 0.112.0
513e7a80f Merge branch 'tempv0.112.0'
91eb44275 Some more about 0.112.0
bd3b33a27 docs: Regen docshelper
fb3027daf docs: Regen CLI docs
8e7b8e987 Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'
a942ceef4 tpl/tplimpl: Add img loading attribute to figure shortcode (#10927 )
0e0c7b25e tpl/urls: Return empty string when JoinPath has zero args
310ce949a tpl/urls: Add JoinPath template function
ae435ca77 tpl: Add math.Abs
f340139f8 Revert "Update syntax-highlighting.md (#10929 )" (#10930 )
917a0e24d Update syntax-highlighting.md (#10929 )
git-subtree-dir: docs
git-subtree-split: 1798dc0d54ce048dd975863b490cd809ef14268a
2023-05-27 16:59:59 +02:00
Bjørn Erik Pedersen
273d9f69a6
commands: Fail the build when no config file or config dir
...
Fixes #11019
2023-05-27 16:56:54 +02:00
Bjørn Erik Pedersen
a6257d8a44
langs: Remove the Language.Params deprecation message for now
...
Closes #11025
2023-05-27 16:56:54 +02:00
Bjørn Erik Pedersen
6c2db0dfb0
Add language.LanguageCode
...
But keep an alias at Site
Closes #11027
2023-05-27 16:56:54 +02:00
Bjørn Erik Pedersen
8f293a1855
Fix --renderStaticToDisk regression
...
Fixes #11026
2023-05-27 16:56:54 +02:00
Bjørn Erik Pedersen
901cd970db
commands: Re-introduce the -f shorthand for hugo new site
...
Fixes #11015
2023-05-27 16:56:54 +02:00
Bjørn Erik Pedersen
f86b5f70a6
commands: Move the --format flag to only the commands that support it
...
Fixes #11022
2023-05-27 16:56:54 +02:00
hugoreleaser
3297b395d8
releaser: Prepare repository for 0.113.0-DEV
...
[ci skip]
2023-05-24 14:54:43 +00:00
hugoreleaser
ba6f74e404
releaser: Bump versions for release of 0.112.3
...
[ci skip]
2023-05-24 14:42:50 +00:00
Bjørn Erik Pedersen
231374a1fa
Fix regression when loading config -e is empty or HUGO_ENV or HUGO_ENVIRONMENT is set
...
Fixes #11013
2023-05-24 16:39:31 +02:00
hugoreleaser
5adc837904
releaser: Prepare repository for 0.113.0-DEV
...
[ci skip]
2023-05-24 10:57:20 +00:00
hugoreleaser
f89108f2b1
releaser: Bump versions for release of 0.112.2
...
[ci skip]
2023-05-24 10:45:31 +00:00
Bjørn Erik Pedersen
dd67922013
minifiers: Make sure JS.Version always has a value
...
Fixes #11012
2023-05-24 12:42:56 +02:00
Bjørn Erik Pedersen
9a235d0afc
Fix regression with site.IsServer when not running a server
...
Fixes #11006
2023-05-24 12:42:56 +02:00
hugoreleaser
99407c39ba
releaser: Prepare repository for 0.113.0-DEV
...
[ci skip]
2023-05-23 17:38:44 +00:00
hugoreleaser
7c90c19d28
releaser: Bump versions for release of 0.112.1
...
[ci skip]
2023-05-23 17:26:16 +00:00
Bjørn Erik Pedersen
ed906a86e2
Fix regression when config for OutputFormat.BaseName is an empty string
...
Fixes #11000
2023-05-23 19:23:39 +02:00
hugoreleaser
d666edad71
releaser: Prepare repository for 0.113.0-DEV
...
[ci skip]
2023-05-23 08:25:56 +00:00
hugoreleaser
0a95d6704a
releaser: Bump versions for release of 0.112.0
...
[ci skip]
2023-05-23 08:14:20 +00:00
Bjørn Erik Pedersen
70b2aaf873
circleci: Add github.com to known hosts
2023-05-23 10:12:16 +02:00
Bjørn Erik Pedersen
f014921159
Revert "build(deps): bump gocloud.dev from 0.24.0 to 0.29.0"
...
This reverts commit baa5569042
.
See #10993
2023-05-23 09:24:58 +02:00
Bjørn Erik Pedersen
bd38e35f97
Revert "postcss: Improve validation of option 'config'"
...
This reverts commit 9a0370e8eb
.
Closes #10990
2023-05-22 20:31:59 +02:00
Bjørn Erik Pedersen
85b13c105a
Add --format to hugo config
...
Now default to TOML.
2023-05-22 20:26:02 +02:00
Bjørn Erik Pedersen
b6e6438f7f
docs: Regen docshelper
2023-05-22 18:54:34 +02:00
Bjørn Erik Pedersen
943ff7f7ce
commands: Add missing gen docshelper command
...
Updates #10953
2023-05-22 18:54:34 +02:00
Bjørn Erik Pedersen
288be1976d
Fix "unknown command" message when no suggestion
...
Updates #10953
2023-05-22 18:54:34 +02:00