hugoreleaser
347f2de67d
releaser: Add release notes to /docs for release of 0.78.1
...
[ci skip]
2020-11-05 09:38:59 +00:00
hugoreleaser
210f6d38ac
releaser: Bump versions for release of 0.78.1
...
[ci skip]
2020-11-05 09:38:59 +00:00
hugoreleaser
03f87f8f06
releaser: Add release notes for 0.78.1
...
[ci skip]
2020-11-05 09:38:59 +00:00
Bjørn Erik Pedersen
3437174c3a
Disable NPM test on Travis on Windows
...
For now.
2020-11-05 09:56:22 +01:00
Bjørn Erik Pedersen
f66302ca05
travis: Install nodejs on Windows
2020-11-05 07:51:41 +01:00
Bjørn Erik Pedersen
944150bafb
js: Remove external source map option
...
It was merged by accident and the implementation does not look correct.
Fixes #7932
2020-11-04 23:04:12 +01:00
Bjørn Erik Pedersen
bf2837a314
js: Misc fixes
...
* Fix resolve of package.json deps in submodules
* Fix directory logic for writing assets/jsconfig.json
Fixes #7924
Fixes #7923
2020-11-04 19:21:43 +01:00
hugoreleaser
cf6131dc18
releaser: Prepare repository for 0.79.0-DEV
...
[ci skip]
2020-11-03 13:25:12 +00:00
hugoreleaser
fd62817bba
releaser: Add release notes to /docs for release of 0.78.0
...
[ci skip]
2020-11-03 13:13:12 +00:00
hugoreleaser
3ebe83aea7
releaser: Bump versions for release of 0.78.0
...
[ci skip]
2020-11-03 13:13:12 +00:00
Bjørn Erik Pedersen
0c16debc7f
Update 0.78.0-relnotes.md
2020-11-03 14:03:53 +01:00
hugoreleaser
794e1f9e72
releaser: Add release notes for 0.78.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-11-03 12:23:42 +00:00
Bjørn Erik Pedersen
c64e9504d8
Merge commit 'b74591123eac47a20d1f26ff3e2d291cd9c5cfc0'
2020-11-03 13:05:34 +01:00
Bjørn Erik Pedersen
b74591123e
Squashed 'docs/' changes from d1157b687..57c1d1a67
...
57c1d1a67 Add note about issue with Instagram shortcode
2a4355113 Add example for regional language tags (#1139 )
5e9a60fc0 Format dates with "th", "nd", and "rd". (#1254 )
43df9a7f6 Update index.md
f15f32590 Update index.md
5a15be93d Update configuration.md
e71c1c545 Update configuration.md
5fd0439ff Release Hugo 0.77.0
5b875477c releaser: Add release notes to /docs for release of 0.77.0
09a2a3199 docs: Regen docs helper
bebef9bbe Merge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'
f5ed02685 tpl: Refactor time.AsTime location implementation
f3b8eccd2 tpl: Update Hugo time to support optional [LOCATION] parameter
git-subtree-dir: docs
git-subtree-split: 57c1d1a67b
2020-11-03 13:04:56 +01:00
Bjørn Erik Pedersen
3b2fe3cd33
js: Add avoidTDZ option
...
Fixes #7865
2020-11-03 13:04:37 +01:00
Bjørn Erik Pedersen
85e4dd7370
Make js.Build fully support modules
...
Fixes #7816
Fixes #7777
Fixes #7916
2020-11-03 13:04:37 +01:00
Andreas Richter
3089fc0ba1
js.Build: Generate tsconfig files
...
Updates #7777
Added support to allow SourceMap files to be external to the build.
In addition added more information when the js compilation has an error.
Correctly append sourceMappingURL to output file.
Fix merge conflict.
2020-11-03 13:04:37 +01:00
hugoreleaser
e10e36cf70
releaser: Prepare repository for 0.78.0-DEV
...
[ci skip]
2020-10-30 10:24:27 +00:00
hugoreleaser
ef290125c9
releaser: Add release notes to /docs for release of 0.77.0
...
[ci skip]
2020-10-30 10:12:16 +00:00
hugoreleaser
5d2fceecaf
releaser: Bump versions for release of 0.77.0
...
[ci skip]
2020-10-30 10:12:16 +00:00
Bjørn Erik Pedersen
0696df6686
Release 0.77.0
2020-10-30 11:05:21 +01:00
Bjørn Erik Pedersen
5ba49c8778
Update 0.77.0-relnotes.md
...
[ci skip]
2020-10-30 10:39:04 +01:00
hugoreleaser
c3ccda8fab
releaser: Add release notes for 0.77.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-10-30 09:22:42 +00:00
Bjørn Erik Pedersen
beabc8d998
modules: Allow absolute paths for project imports
...
Fixes #7910
2020-10-30 10:14:08 +01:00
Bjørn Erik Pedersen
332b65e4cc
docs: Regen docs helper
2020-10-30 09:52:32 +01:00
Bjørn Erik Pedersen
3553fc533a
Merge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'
2020-10-30 09:50:15 +01:00
Bjørn Erik Pedersen
9cabb46f68
Squashed 'docs/' changes from 9abd3043a..d1157b687
...
d1157b687 Fix typo -- missing word in title
34c9a9ff3 Remove Hartwell Insurance subpage broken link
d42f6d8eb Fix strings.Repeat documentation
09b49debb Release 0.76.5
149877735 Merge branch 'tempv0.76.5'
72ffeb026 releaser: Add release notes to /docs for release of 0.76.5
4150d8ae8 Fixed typo: update PrevPage to Prev
c3e630db1 Update index.md
deb7520a8 Release 0.76.4
f58bd7134 Merge branch 'tempv0.76.4'
2581fe4bc releaser: Add release notes to /docs for release of 0.76.4
26d8417fc Release 0.76.3
34c49e06a Merge branch 'tempv0.76.3'
0de2af2ef releaser: Add release notes to /docs for release of 0.76.3
cce12c0f7 Add missing closing quotes and fix code-block lang (#1250 )
8c1c80d9f Update AMP link (#1251 )
7b1211ffa Fix typos in multilingual.md
29e9d70fd Update index.md
172a5480b Release 0.76.2
93ff424d3 Merge branch 'temp762'
3cad3c23a releaser: Add release notes to /docs for release of 0.76.2
610221964 Update index.md
8a9d31709 Release 0.76.1
64b245aa4 Merge branch 'temp761'
f19469ff8 releaser: Add release notes to /docs for release of 0.76.1
97f0ed030 Update front-matter.md
cca71f263 Update index.md
23c64f6a3 Fix typo in 0.76.0 release note
5f79e034d Update index.md
b66567de2 netlify: Bump to Hugo 0.76.0
a3e30300d Release 0.76.0
3b057e8fe releaser: Add release notes to /docs for release of 0.76.0
7fa1cd912 docs: Regen docshelper
769712aec Merge commit 'e5568488051a571df48401e03f1304b95dbc9028'
70ce6ae33 pagemeta: Make BuildConfig.Render an enum
a78d3849f Allow cascade to be a slice with a _target discriminator
705fea656 Add force flag to server redirects config
04e4e1cc1 tpl: Add Do Not Track (dnt) option to Vimeo shortcode
025c19fe1 Fix CLI example for PostCSS 8
0c70c47b2 markup/asciidocext: Add preserveTOC option
git-subtree-dir: docs
git-subtree-split: d1157b687e
2020-10-30 09:49:15 +01:00
Bjørn Erik Pedersen
173187e263
Add module.replacements
...
Fixes #7904
Fixes #7908
2020-10-30 09:41:05 +01:00
Bjørn Erik Pedersen
8a1c637c44
Fix setting HUGO_MODULE_PROXY etc. via env vars
...
Fixes #7903
2020-10-30 09:41:04 +01:00
Cameron Moore
6d95dc9d74
tpl: Fix reflection bug in merge
...
Value.Type().Key() must only be called on map values.
Fixes #7899
2020-10-29 19:19:41 +01:00
José Moreira
56a343507c
deploy: Do not call CDN service invalidation when executing a dry run deployment
...
Currently, if cache invalidation is enabled when running `hugo deploy --dryRun` with , the deployer does not take the dry run flag into consideration and triggers CloudFront/GoogleCloudCDN cache invalidation if any of those services are configured.
This change will instead print a feedback message if a dry run is in effect and quiet mode is not enabled.
Fixes #7884
2020-10-28 11:19:40 +01:00
Bhavin Gandhi
d48a98c477
create: Pass editor arguments from newContentEditor correctly
...
If newContentEditor has editor name with arguments like `emacsclient
-n`, it fails with `executable file not found in $PATH`. This change
parses the value correctly and passes it to the given editor.
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com >
2020-10-24 20:34:03 +02:00
Anthony Fok
3261678f63
deps: Bump github.com/spf13/cobra from 0.0.7 to 1.1.1
...
Cobra 1.1.1 fixes internal formatting for go-md2man v2 (which caused
man page generation e.g. "hugo gen man" to be broken since Cobra 0.0.6).
See spf13/cobra#1049 for context.
2020-10-24 03:39:53 -06:00
Eric Hagman
f465c5c307
build: Allow optional "nodeploy" tag to exclude deploy command from bin
...
Fixes #7826
2020-10-23 09:03:41 +02:00
Gareth Watts
3400aff258
Allow cascade _target to work with non toml fm
...
The TOML lib unmarshals slices of string maps to []map[string]interface{}
whereas YAML and JSON decode to []interface{}
The existing tests only check for TOML working correctly, and _target
with cascade did not work at all for frontmatter defined in other formats.
Add a function to normalize those slices
Fixes #7874
2020-10-22 23:00:19 +02:00
Bjørn Erik Pedersen
fdfa4a5fe6
Allow getJSON errors to be ignored
...
This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing).
Fixes #7866
2020-10-22 09:09:29 +02:00
dependabot[bot]
8cbe2bbfad
build(deps): bump github.com/evanw/esbuild from 0.7.15 to 0.7.18
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.15 to 0.7.18.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.15...v0.7.18 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-21 10:19:40 +02:00
Cameron Moore
807db97af8
tpl: Refactor time.AsTime location implementation
2020-10-21 09:49:25 +02:00
Mark Johnson
26eeb29147
tpl: Update Hugo time to support optional [LOCATION] parameter
2020-10-21 09:49:25 +02:00
Bjørn Erik Pedersen
b886fa46bb
Revert "Add benchmark for building docs site"
...
We already have a lot of site building benchmarks. The main problem with adding the "Hugo site docs" to the list is that it cannot easiliy be compared to any previous release, because its content/template/whatever has changed.
This reverts commit 837e084bbe .
2020-10-17 00:37:42 +02:00
Cameron Moore
14bce18a6c
highlight: Avoid making unnecessary allocation
...
Avoid creating a local copy of the highlight configuration when no
options are passed.
Benchmarks of building the docs site:
name old time/op new time/op delta
DocsSite-2 1.94s ± 4% 1.93s ± 4% ~ (p=0.841 n=5+5)
name old alloc/op new alloc/op delta
DocsSite-2 666MB ± 1% 656MB ± 0% -1.48% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
DocsSite-2 8.85M ± 0% 8.76M ± 0% -1.04% (p=0.029 n=4+4)
2020-10-16 21:14:02 +02:00
Cameron Moore
837e084bbe
Add benchmark for building docs site
2020-10-16 21:13:39 +02:00
Cameron Moore
08e4f9ff9c
embedded: Always show page number when 5 pages or less
...
Fixes #7523
2020-10-16 16:16:49 +02:00
Cameron Moore
acfa153863
output: Improve layout path construction
2020-10-15 20:54:47 +02:00
dependabot[bot]
f033d9f01d
build(deps): bump github.com/frankban/quicktest from 1.11.0 to 1.11.1
...
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/frankban/quicktest/releases )
- [Commits](https://github.com/frankban/quicktest/compare/v1.11.0...v1.11.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-15 00:01:45 +02:00
dependabot[bot]
59fe279424
build(deps): bump github.com/evanw/esbuild from 0.7.14 to 0.7.15
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.14 to 0.7.15.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.14...v0.7.15 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-14 21:59:26 +02:00
Bjørn Erik Pedersen
62119022d1
Merge branch 'release-0.76.5'
2020-10-14 17:44:47 +02:00
hugoreleaser
2f3f41f736
releaser: Prepare repository for 0.77.0-DEV
...
[ci skip]
2020-10-14 15:28:16 +00:00
hugoreleaser
60f0725b3e
releaser: Add release notes to /docs for release of 0.76.5
...
[ci skip]
2020-10-14 15:15:22 +00:00
hugoreleaser
dcf70ea5a5
releaser: Bump versions for release of 0.76.5
...
[ci skip]
2020-10-14 15:15:22 +00:00
hugoreleaser
7487c0abf2
releaser: Add release notes for 0.76.5
...
[ci skip]
2020-10-14 15:15:22 +00:00
Bjørn Erik Pedersen
79a022a15c
Render aliases even if render=link
...
Fixes #7832
2020-10-14 17:06:34 +02:00
Bjørn Erik Pedersen
ead5799f7e
Render aliases even if render=link
...
Fixes #7832
2020-10-14 16:59:37 +02:00
dependabot[bot]
d57be11324
build(deps): bump github.com/spf13/afero from 1.4.0 to 1.4.1
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.4.0...v1.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-12 22:54:09 +02:00
dependabot[bot]
d070596694
build(deps): bump github.com/evanw/esbuild from 0.7.9 to 0.7.14
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.9 to 0.7.14.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.9...v0.7.14 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-12 22:51:34 +02:00
Daniel Sutton
f5ea359dd3
docker: Update to Go 1.15 and Alpine 3.12
2020-10-12 22:51:08 +02:00
Cameron Moore
78b26d538c
output: Test all lookup permutations in TestLayout
2020-10-12 22:24:47 +02:00
Cameron Moore
28179bd556
output: Reformat TestLayout table
2020-10-12 22:24:47 +02:00
hugoreleaser
fef057b489
releaser: Prepare repository for 0.77.0-DEV
...
[ci skip]
2020-10-12 08:45:25 +00:00
hugoreleaser
50dfe40b91
releaser: Add release notes to /docs for release of 0.76.4
...
[ci skip]
2020-10-12 08:32:44 +00:00
hugoreleaser
1ef4211fea
releaser: Bump versions for release of 0.76.4
...
[ci skip]
2020-10-12 08:32:44 +00:00
hugoreleaser
b148063ec0
releaser: Add release notes for 0.76.4
...
[ci skip]
2020-10-12 08:32:44 +00:00
Anthony Fok
e9a7ebaf67
snap: Install postcss v8 explicitly as it is now a peer dependency
...
Fix Snap build failures since 2020-09-21
2020-10-09 12:23:38 -06:00
Bjørn Erik Pedersen
506820435c
lang/i18n: Fix for language code case issue with pt-br etc.
...
Fixes #7804
2020-10-09 18:02:43 +02:00
Bjørn Erik Pedersen
49972d0792
Merge branch 'release-0.76.3'
2020-10-08 19:33:23 +02:00
Bjørn Erik Pedersen
c98132e30e
Add merge helper
2020-10-08 19:32:53 +02:00
hugoreleaser
af19253f43
releaser: Prepare repository for 0.77.0-DEV
...
[ci skip]
2020-10-08 17:20:03 +00:00
hugoreleaser
e96234590d
releaser: Add release notes to /docs for release of 0.76.3
...
[ci skip]
2020-10-08 17:07:29 +00:00
hugoreleaser
d62bc74770
releaser: Bump versions for release of 0.76.3
...
[ci skip]
2020-10-08 17:07:29 +00:00
hugoreleaser
1b1d62fdc9
releaser: Add release notes for 0.76.3
...
[ci skip]
2020-10-08 17:07:29 +00:00
Bjørn Erik Pedersen
33e9d79b78
langs/i18n: Add workaround for known language, but missing plural rule error
...
Closes #7798
2020-10-08 14:20:18 +02:00
Bjørn Erik Pedersen
fc6abc39c7
langs/i18n: Fix for bare TOML keys
...
Hugo 0.76.0 updated go-i18n from v1 to v2. This allowed us to set the TOML unmarshaler to use, so we set the one we use in other places in Hugo.
But that does not support dotted bare keys, which caused some breakage in the wild.
This commit fixes that by:
* Using go-toml for language files
* Updating go-toml to the latest version
2020-10-08 14:20:18 +02:00
hugoreleaser
18ed22be5c
releaser: Prepare repository for 0.77.0-DEV
...
[ci skip]
2020-10-07 09:11:54 +00:00
hugoreleaser
207913f349
releaser: Add release notes to /docs for release of 0.76.2
...
[ci skip]
2020-10-07 08:59:11 +00:00
hugoreleaser
830b1a94de
releaser: Bump versions for release of 0.76.2
...
[ci skip]
2020-10-07 08:59:11 +00:00
hugoreleaser
605cff4071
releaser: Add release notes for 0.76.2
...
[ci skip]
2020-10-07 08:59:11 +00:00
Bjørn Erik Pedersen
6dd60fca73
Revert "deps: Update to github.com/tdewolff/minify v2.9.4"
...
Closes #7792
This reverts commit b254532b52 .
2020-10-07 10:46:19 +02:00
hugoreleaser
138a025916
releaser: Prepare repository for 0.77.0-DEV
...
[ci skip]
2020-10-07 07:45:26 +00:00
hugoreleaser
58ac83a98c
releaser: Add release notes to /docs for release of 0.76.1
...
[ci skip]
2020-10-07 07:33:10 +00:00
hugoreleaser
2b8e8e6d96
releaser: Bump versions for release of 0.76.1
...
[ci skip]
2020-10-07 07:33:10 +00:00
hugoreleaser
aef8369865
releaser: Add release notes for 0.76.1
...
[ci skip]
2020-10-07 07:33:10 +00:00
Bjørn Erik Pedersen
f9e798e8c4
langs/i18n: Fix i18n .Count regression
...
Fixes #7787
2020-10-07 00:32:21 +02:00
digitalcraftsman
ee56efffcb
Fix typo in 0.76.0 release note
2020-10-06 19:03:36 +02:00
hugoreleaser
2c4e76e962
releaser: Prepare repository for 0.77.0-DEV
...
[ci skip]
2020-10-06 15:42:25 +00:00
hugoreleaser
9c7d6e475c
releaser: Add release notes to /docs for release of 0.76.0
...
[ci skip]
2020-10-06 15:29:25 +00:00
hugoreleaser
4482958f96
releaser: Bump versions for release of 0.76.0
...
[ci skip]
2020-10-06 15:29:25 +00:00
Bjørn Erik Pedersen
e1ec3bc2b2
Release 0.76.0
2020-10-06 17:21:35 +02:00
hugoreleaser
1cfa63b9ec
releaser: Add release notes for 0.76.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-10-06 17:21:23 +02:00
Bjørn Erik Pedersen
b9318e4315
docs: Regen docshelper
2020-10-06 16:25:23 +02:00
Bjørn Erik Pedersen
5e39eb20a6
Merge commit 'e5568488051a571df48401e03f1304b95dbc9028'
2020-10-06 16:24:00 +02:00
Bjørn Erik Pedersen
e556848805
Squashed 'docs/' changes from 4895c29c5..9abd3043a
...
9abd3043a Add docs for shimming JS libraries
6a1c8dcd7 Update sitemap-template.md (#1245 )
37c397332 Update frontends.md
a0f86f6df Update configuration.md
bb00cb2c1 Update page-bundles.md
773212de6 Restructure and simplify
fcba7dddf Some minor clarifications of weight sorting
759b967fc Update configuration-markup.md
56708f0b7 module import path remove slash at end
59f4f4acd Doc: Fix typo in hugo command
faacf2e97 Clarify pagination documentation (#1208 )
d8eb60887 netlify: Bump to 0.75.1
8cedf6231 Merge branch 'temp751'
188e2bf56 releaser: Add release notes to /docs for release of 0.75.1
c96d4b7a3 Update index.md
1a9d192f7 Update index.md
32731b916 Update index.md
a5bfa0c9a Restore the ... home page
b6850bf96 Release 0.75.0
d6e5e624f releaser: Add release notes to /docs for release of 0.75.0
8cd6b4f47 typo: already -> already
2cb2b22bb Merge commit '534ae9c57a902aea9ed6e62390dec11fa74b7122'
e3525de23 docs: Regen docs helper
fd746dd83 docs: Regenerate CLI docs
e20127980 Add "hugo mod npm pack"
8e82c7ce1 markup/highlight: Add support to linkable line anchors on Chroma
21e94911b markup/asciidocext: Fix AsciiDoc TOC with code
50b8dace5 modules: Add noVendor to module config
d05b541fe modules: Make ignoreVendor a glob pattern
c946082e7 docs: Update replaceRE func
149054341 docs: Update replace func
d917567df docs: Update merge function
f1e093c92 docs: Regen CLI docs
c7bac967d docs: Regen docs helper
7a38f7a45 Merge commit '7d7771b673e5949f554515a2c236b23192c765c8'
1a5a7263a markup/asciidoc: Add support for .TableOfContents
git-subtree-dir: docs
git-subtree-split: 9abd3043a9
2020-10-06 16:22:20 +02:00
Bjørn Erik Pedersen
634938908e
pagemeta: Make BuildConfig.Render an enum
...
Allowing links on pages without rendering them.
Fixes #7783
2020-10-06 14:06:10 +02:00
Bjørn Erik Pedersen
c63db7f1f6
Allow cascade to be a slice with a _target discriminator
...
Fixes #7782
2020-10-06 14:06:10 +02:00
Bjørn Erik Pedersen
5e2a547cb5
Add force flag to server redirects config
...
Fixes #7778
2020-10-05 22:20:00 +02:00
dependabot[bot]
ee090c0940
build(deps): bump github.com/evanw/esbuild from 0.7.8 to 0.7.9
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.8 to 0.7.9.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.8...v0.7.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-05 12:13:46 +02:00
Josh Gerdes
edc5c4741c
tpl: Add Do Not Track (dnt) option to Vimeo shortcode
...
Added a Vimeo EnableDNT privacy option to the Hugo config. This will enable the Vimeo 'Do Not Track' flag when either Vimeo shortcode tempalte options are used. When enabled, it will force the Vimeo player to be blocked from tracking any session data, including all cookies and stats.
Fixes #7700
2020-10-02 23:02:38 +02:00
dependabot[bot]
05e358fd33
build(deps): bump github.com/tdewolff/minify/v2 from 2.9.5 to 2.9.7
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.5 to 2.9.7.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.5...v2.9.7 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-02 14:09:16 +02:00
dependabot[bot]
a2e85d9a75
build(deps): bump github.com/aws/aws-sdk-go from 1.34.34 to 1.35.0
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.34 to 1.35.0.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.34...v1.35.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-01 12:13:53 +02:00
dependabot[bot]
4fba78dd0e
build(deps): bump github.com/getkin/kin-openapi from 0.22.0 to 0.22.1
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.22.0 to 0.22.1.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.22.0...v0.22.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-01 12:13:30 +02:00
dependabot[bot]
c011b4667f
build(deps): bump github.com/aws/aws-sdk-go from 1.34.33 to 1.34.34
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.33 to 1.34.34.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.33...v1.34.34 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-30 12:13:40 +02:00
dependabot[bot]
35348b4b34
build(deps): bump github.com/evanw/esbuild from 0.7.7 to 0.7.8
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.7...v0.7.8 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-30 12:13:00 +02:00
dependabot[bot]
34915777c2
build(deps): bump github.com/aws/aws-sdk-go from 1.34.27 to 1.34.33
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.27 to 1.34.33.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.27...v1.34.33 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-29 19:48:58 +02:00
dependabot[bot]
0f4a837ed1
build(deps): bump github.com/evanw/esbuild from 0.7.4 to 0.7.7
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.4 to 0.7.7.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.4...v0.7.7 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-29 19:48:21 +02:00
dependabot[bot]
b395d686e9
build(deps): bump github.com/tdewolff/minify/v2 from 2.9.4 to 2.9.5
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.4 to 2.9.5.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.4...v2.9.5 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-29 19:47:59 +02:00
Bjørn Erik Pedersen
97987e5c02
langs/i18n: Upgrade to go-i18n v2
...
Fixes #5242
2020-09-29 17:48:07 +02:00
Bjørn Erik Pedersen
111344113b
publisher: Fix writeStats with quote inside quotes
...
Fixes #7746
2020-09-28 22:17:36 +02:00
dependabot[bot]
4855c186d8
build(deps): bump github.com/evanw/esbuild from 0.7.2 to 0.7.4
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.2 to 0.7.4.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.2...v0.7.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-24 10:36:14 +02:00
Andrey Sitnik
0c3d2b67e0
Fix CLI example for PostCSS 8
2020-09-22 19:31:02 +02:00
dependabot[bot]
6f07ec7e9e
build(deps): bump github.com/aws/aws-sdk-go from 1.34.26 to 1.34.27
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.26 to 1.34.27.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.26...v1.34.27 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-21 13:24:10 +02:00
dependabot[bot]
4318dc72f8
build(deps): bump github.com/alecthomas/chroma from 0.8.0 to 0.8.1
...
Bumps [github.com/alecthomas/chroma](https://github.com/alecthomas/chroma ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v0.8.0...v0.8.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-21 13:23:46 +02:00
dependabot[bot]
acdc27a32d
build(deps): bump github.com/evanw/esbuild from 0.7.1 to 0.7.2
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.7.1...v0.7.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-21 13:23:01 +02:00
Bjørn Erik Pedersen
3acde9ae04
Make sure CSS is rebuilt when postcss.config.js or tailwind.config.js changes
...
Fixes #7715
2020-09-20 13:35:41 +02:00
Joe Mooring
473b6610d5
Fix typo in redirect error message
2020-09-19 22:06:54 +02:00
dependabot[bot]
0bce97703c
build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.26
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.22 to 1.34.26.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.22...v1.34.26 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-19 21:18:16 +02:00
Bjørn Erik Pedersen
b254532b52
deps: Update to github.com/tdewolff/minify v2.9.4
2020-09-19 21:17:02 +02:00
Anthony Fok
05a2289292
snap: Bump bundled Node.js from v12.18.3 to v12.18.4
...
due to CVE-2020-8201, CVE-2020-8251 and CVE-2020-8252,
see https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/
2020-09-18 12:13:31 -06:00
Helder Pereira
8e553dcdef
markup/asciidocext: Add preserveTOC option
2020-09-17 10:50:25 +02:00
dependabot[bot]
d4fc70a3b3
build(deps): bump github.com/frankban/quicktest from 1.10.2 to 1.11.0
...
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest ) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/frankban/quicktest/releases )
- [Commits](https://github.com/frankban/quicktest/compare/v1.10.2...v1.11.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-17 09:55:45 +02:00
dependabot[bot]
d905abc002
build(deps): bump github.com/evanw/esbuild from 0.6.32 to 0.7.1
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.6.32 to 0.7.1.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.6.32...v0.7.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-16 20:52:20 +02:00
dependabot[bot]
8f3946746d
build(deps): bump github.com/rogpeppe/go-internal from 1.5.1 to 1.6.2
...
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal ) from 1.5.1 to 1.6.2.
- [Release notes](https://github.com/rogpeppe/go-internal/releases )
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.5.1...v1.6.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-16 20:50:54 +02:00
dependabot[bot]
b01b2564ee
build(deps): bump github.com/jdkato/prose from 1.1.1 to 1.2.0
...
Bumps [github.com/jdkato/prose](https://github.com/jdkato/prose ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/jdkato/prose/releases )
- [Commits](https://github.com/jdkato/prose/compare/v1.1.1...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-16 20:50:25 +02:00
dependabot[bot]
9fa5ebe2c4
build(deps): bump github.com/spf13/afero from 1.2.2 to 1.4.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.2.2 to 1.4.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.2.2...v1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-16 20:48:25 +02:00
hugoreleaser
efaed306b1
releaser: Prepare repository for 0.76.0-DEV
...
[ci skip]
2020-09-15 07:00:54 +00:00
hugoreleaser
a4a7bab734
releaser: Add release notes to /docs for release of 0.75.1
...
[ci skip]
2020-09-15 06:45:52 +00:00
hugoreleaser
2a9dce423f
releaser: Bump versions for release of 0.75.1
...
[ci skip]
2020-09-15 06:45:52 +00:00
hugoreleaser
30159b58e9
releaser: Add release notes for 0.75.1
...
[ci skip]
2020-09-15 06:45:52 +00:00
Bjørn Erik Pedersen
cd00f7f966
resources/image: Fix nilpointer for images with no Exif
...
E.g. PNG files.
Fixes #7688
2020-09-15 07:54:24 +02:00
Bjørn Erik Pedersen
214afe4c1b
modules/npm: Preserve the original package.json if it exists
...
Fixes #7690
2020-09-15 01:04:31 +02:00
Evgeny Kuznetsov
cd830bb027
tpl: Fix grammar in the new 'requires non-zero' error message
2020-09-14 19:54:48 +02:00
hugoreleaser
a8458bfb25
releaser: Prepare repository for 0.76.0-DEV
...
[ci skip]
2020-09-14 09:31:44 +00:00
hugoreleaser
fef924baf1
releaser: Add release notes to /docs for release of 0.75.0
...
[ci skip]
2020-09-14 09:19:06 +00:00
hugoreleaser
07b5e602f8
releaser: Bump versions for release of 0.75.0
...
[ci skip]
2020-09-14 09:19:06 +00:00
Bjørn Erik Pedersen
70f16e84e2
Release 0.75.0
2020-09-14 11:08:48 +02:00
hugoreleaser
abadf29542
releaser: Add release notes for 0.75.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-09-14 08:51:14 +00:00
Bjørn Erik Pedersen
377ad87a51
Set PWD in environment when running the Node apps
...
E.g. PostCSS and Babel.
This is in line with what we do when running Go.
2020-09-14 10:22:24 +02:00
Daniel Holbach
292b0e26ec
typo: already -> already
2020-09-14 10:15:59 +02:00
Bjørn Erik Pedersen
534ae9c57a
Squashed 'docs/' changes from d3eb97a33..4895c29c5
...
4895c29c5 Document strings.Count function
git-subtree-dir: docs
git-subtree-split: 4895c29c5b
2020-09-13 21:58:53 +02:00
Bjørn Erik Pedersen
df56682a10
Merge commit '534ae9c57a902aea9ed6e62390dec11fa74b7122'
2020-09-13 21:58:53 +02:00
Bjørn Erik Pedersen
be2404c8b1
docs: Regen docs helper
2020-09-13 21:58:38 +02:00
Bjørn Erik Pedersen
c8da8eb1f5
docs: Regenerate CLI docs
2020-09-13 21:58:10 +02:00
Bjørn Erik Pedersen
787da6bd5f
releaser: Drop 32-bit for MacOS
...
Fixes #7576
2020-09-13 21:07:08 +02:00
Bjørn Erik Pedersen
85ba9bfffb
Add "hugo mod npm pack"
...
This commit also introduces a convention where these common JS config files, including `package.hugo.json`, gets mounted into:
```
assets/_jsconfig
´``
These files mapped to their real filename will be added to the environment when running PostCSS, Babel etc., so you can do `process.env.HUGO_FILE_TAILWIND_CONFIG_JS` to resolve the real filename.
But do note that `assets` is a composite/union filesystem, so if your config file is not meant to be overridden, name them something specific.
This commit also adds adds `workDir/node_modules` to `NODE_PATH` and `HUGO_WORKDIR` to the env when running the JS tools above.
Fixes #7644
Fixes #7656
Fixes #7675
2020-09-13 20:55:29 +02:00
Andreas Richter
9df60b62f9
Print layout name if it was specified when showing missing layout file error
...
Fixes #7617
2020-09-13 20:36:37 +02:00
dependabot[bot]
4fad43c8bd
build(deps): bump github.com/aws/aws-sdk-go from 1.34.21 to 1.34.22
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.21 to 1.34.22.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.21...v1.34.22 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-13 18:39:37 +02:00
Fernando Jorge Mota
fb0f2cc718
markup/highlight: Add support to linkable line anchors on Chroma
...
Fixes #7622
2020-09-13 11:00:16 +02:00
Anthony Fok
748fd4cb0d
snap: Bump bundled Node.js from v8.12.0 to v12.18.3
...
Fixes #7278
2020-09-12 00:01:16 -06:00
Anthony Fok
b82f440c59
Revert "snap: Change confinement from strict to classic"
...
We need to wait until classic confinement review process at
https://forum.snapcraft.io/t/request-for-classic-confinement-for-hugo-snap/19892
is completed before "confinement: classic" uploads to the Snap Store
are accepted.
This reverts commit 6f4ff1a461 .
2020-09-11 23:56:29 -06:00
dependabot[bot]
c8143efa5d
build(deps): bump github.com/getkin/kin-openapi from 0.14.0 to 0.22.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.14.0 to 0.22.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.14.0...v0.22.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-11 22:08:53 +02:00
dependabot[bot]
c80132bbe5
build(deps): bump github.com/aws/aws-sdk-go from 1.34.20 to 1.34.21
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.20 to 1.34.21.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.20...v1.34.21 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-11 22:07:18 +02:00
dependabot[bot]
75fa4c5c95
build(deps): bump github.com/spf13/viper from 1.6.1 to 1.7.1
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.6.1 to 1.7.1.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.6.1...v1.7.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-11 22:06:42 +02:00
Bjørn Erik Pedersen
fd7969e0b0
deps: Run "go mod tidy"
2020-09-11 07:50:07 +02:00
Bjørn Erik Pedersen
b7fa3c4bba
deps: Update to Goldmark v1.2.1
2020-09-11 07:49:35 +02:00
Helder Pereira
6a848cbc3a
markup/asciidocext: Fix AsciiDoc TOC with code
...
Fixes #7649
2020-09-10 21:53:13 +02:00
dependabot[bot]
746ba803af
build(deps): bump github.com/aws/aws-sdk-go from 1.27.1 to 1.34.20
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.27.1 to 1.34.20.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.27.1...v1.34.20 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-10 21:42:13 +02:00
dependabot[bot]
612b7d376f
build(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.3.3
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.1.2 to 1.3.3.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.1.2...v1.3.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-10 21:39:36 +02:00
Anthony Fok
6f4ff1a461
snap: Change confinement from strict to classic
...
See gohugoio/hugoDocs#1222
2020-09-10 09:40:28 -06:00
dependabot[bot]
ddeca45933
build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.7
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.5 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...0.0.7 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-10 15:11:20 +02:00
dependabot[bot]
31f2091f58
build(deps): bump github.com/sanity-io/litter from 1.2.0 to 1.3.0
...
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/sanity-io/litter/releases )
- [Changelog](https://github.com/sanity-io/litter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sanity-io/litter/compare/v1.2.0...v1.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-10 15:09:08 +02:00
Bjørn Erik Pedersen
d4611c4322
modules: Add noVendor to module config
...
Fixes #7647
2020-09-10 08:47:05 +02:00
Bjørn Erik Pedersen
20af9a0781
modules: Add ignoreImports to module imports config
...
Fixes #7646
2020-09-10 08:47:05 +02:00
Bjørn Erik Pedersen
9a1e6d15a3
modules: Make ignoreVendor a glob pattern
...
Fixes #7642
2020-09-10 08:47:05 +02:00
dependabot[bot]
84adecf97b
build(deps): bump github.com/gorilla/websocket from 1.4.1 to 1.4.2
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.1...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-09 22:39:47 +02:00
dependabot[bot]
573558a078
build(deps): bump github.com/fsnotify/fsnotify from 1.4.7 to 1.4.9
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.4.7 to 1.4.9.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.4.7...v1.4.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-09 22:39:25 +02:00
dependabot[bot]
8b10c22f82
build(deps): bump github.com/kyokomi/emoji
...
Bumps [github.com/kyokomi/emoji](https://github.com/kyokomi/emoji ) from 2.2.1+incompatible to 2.2.4+incompatible.
- [Release notes](https://github.com/kyokomi/emoji/releases )
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.1...v2.2.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-09 22:39:02 +02:00
dependabot[bot]
195bd1243b
build(deps): bump github.com/markbates/inflect from 1.0.0 to 1.0.4
...
Bumps [github.com/markbates/inflect](https://github.com/markbates/inflect ) from 1.0.0 to 1.0.4.
- [Release notes](https://github.com/markbates/inflect/releases )
- [Commits](https://github.com/markbates/inflect/compare/v1.0.0...v1.0.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-09 22:11:16 +02:00
dependabot[bot]
6a544ece24
build(deps): bump github.com/frankban/quicktest from 1.7.2 to 1.10.2
...
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest ) from 1.7.2 to 1.10.2.
- [Release notes](https://github.com/frankban/quicktest/releases )
- [Commits](https://github.com/frankban/quicktest/compare/v1.7.2...v1.10.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-09 22:10:25 +02:00
Ralph Slooten
4b430d456a
Encode & in livereload injected code
2020-09-09 22:09:40 +02:00
dependabot[bot]
b9f10c75cb
build(deps): bump github.com/niklasfasching/go-org from 1.3.1 to 1.3.2
...
Bumps [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/niklasfasching/go-org/releases )
- [Commits](https://github.com/niklasfasching/go-org/compare/v1.3.1...v1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-08 19:53:15 +02:00
dependabot[bot]
537c598e9a
build(deps): bump github.com/bep/golibsass from 0.6.0 to 0.7.0
...
Bumps [github.com/bep/golibsass](https://github.com/bep/golibsass ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/bep/golibsass/releases )
- [Commits](https://github.com/bep/golibsass/compare/v0.6.0...v0.7.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-08 19:52:29 +02:00
dependabot[bot]
67348676f7
build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.2...v0.3.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-08 19:52:10 +02:00
dependabot[bot]
f9cc0ec76e
build(deps): bump github.com/evanw/esbuild from 0.6.5 to 0.6.32
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.6.5 to 0.6.32.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.6.5...v0.6.32 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-08 19:51:50 +02:00
dependabot[bot]
b5483eed6e
build(deps): bump github.com/nicksnyder/go-i18n from 1.10.0 to 1.10.1
...
Bumps [github.com/nicksnyder/go-i18n](https://github.com/nicksnyder/go-i18n ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/nicksnyder/go-i18n/releases )
- [Changelog](https://github.com/nicksnyder/go-i18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nicksnyder/go-i18n/compare/v1.10.0...v1.10.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-08 19:48:51 +02:00
Bjørn Erik Pedersen
90285f4750
Revert "Update dependabot.yml"
...
This reverts commit c0655ba6ce .
2020-09-08 10:28:16 +02:00
Bjørn Erik Pedersen
4949bdc2ef
markup/asciidocext: Fix broken test
2020-09-08 10:00:57 +02:00
Cameron Moore
f7c1b5fe1c
docs: Update replaceRE func
...
Updates for #7604
2020-09-07 22:45:14 +02:00
Cameron Moore
183e862607
docs: Update replace func
...
Updates for #7602
2020-09-07 22:45:14 +02:00
Cameron Moore
f50ee6bbe5
docs: Update merge function
...
Updates for #7601
2020-09-07 22:45:14 +02:00
Bjørn Erik Pedersen
c0655ba6ce
Update dependabot.yml
2020-09-07 22:08:03 +02:00
Bjørn Erik Pedersen
a2dda22c36
Create dependabot.yml
2020-09-07 21:51:49 +02:00
Bjørn Erik Pedersen
910d81a692
Remove Pygments from requirements.txt
2020-09-07 21:47:54 +02:00
Bjørn Erik Pedersen
8c490a73b3
docs: Regen CLI docs
2020-09-07 21:46:30 +02:00
Bjørn Erik Pedersen
e6cd9da42d
docs: Regen docs helper
2020-09-07 21:45:16 +02:00
Bjørn Erik Pedersen
dcf25c0b49
markup/asciidocext: Revert trace=true
2020-09-07 21:44:11 +02:00
Bjørn Erik Pedersen
7d7771b673
Squashed 'docs/' changes from 7297c1172..d3eb97a33
...
d3eb97a33 Document .IsSection page variable
a068bcf5c Ace and Amber support was removed with #6609
5cd9ca4b2 Mention MacPorts also on the Installing page (#1215 )
0ae8f5c19 Add instructions for using Macports
d50aba8f0 Revise ref and relref function pages
a17e25d6f Update quick-start.md: move notice about drafts up
cf87a5da2 Update macOS tarball installation instructions (#1203 )
2e701f8f3 Corrected the url for index function link
736bd59e0 Clarify treatment of zero weights (#1207 )
42a19f479 Fix example of output from urlize function
34f8de26d Revise content-management/cross-references
252435a95 Rewrite Translation of Strings
f0882bc14 Remove note that has been outdated by v0.71.0
dfe28ceb5 Improve mounts module config
58029627d Fix erroneous example code piping to if
git-subtree-dir: docs
git-subtree-split: d3eb97a332
2020-09-07 21:37:51 +02:00
Bjørn Erik Pedersen
b9e4f5898b
Merge commit '7d7771b673e5949f554515a2c236b23192c765c8'
2020-09-07 21:37:51 +02:00
Bjørn Erik Pedersen
e820b366b9
Update to Go 1.15.1 and 1.14.8
...
Fixes #7627
2020-09-07 21:37:34 +02:00
Bjørn Erik Pedersen
4055c12184
Fix some change detection issues on server reloads
...
* Fix change detection when .GetPage/site.GetPage is used from shortcode
* Fix stale content for GetPage results with short name lookups on server reloads
Fixes #7623
Fixes #7624
Fixes #7625
2020-09-07 21:06:44 +02:00
Nicolas Piganeau
3ba7c92530
markup/asciidoc: Add support for .TableOfContents
...
Fill the .TableOfContents template variable when writing Asciidoc content.
This is done by letting Asciidoc render its TOC as HTML, then extract this
HTML rendered TOC, parse it into a tableofcontents.Root and finally remove
it from the HTML content.
This aims to stay in the logic that the Asciidoc parsing is entirely done
by the external helper.
See #1687
2020-09-06 11:34:32 +02:00
Bjørn Erik Pedersen
19ef27b98e
markup/goldmark: Add a test case
...
Updates #7619
2020-09-04 10:23:02 +02:00
Andreas Richter
c6b661de82
js.Build: Add SourceMap flag with inline option
...
Added a flag to allow turning on sourcemap in ESBuild. The current support
can only support inline or true as value for sourcemap. This is because
the way ESBuild is invoked it doesn't have a separate output path
to write the mapfile external to the asset pipeline. Add disable for "" and "0".
Add test script and make sure mage check passes.
Fixes #7607
2020-09-01 16:19:08 +02:00
Cameron Moore
cdfd1c99ba
tpl: Add limit support to replaceRE
...
Go stdlib doesn't contain a limited replace in the regexp package, but
we can accomplish the same thing with ReplaceAllStringFunc.
Fixes #7586
2020-08-28 18:57:56 +02:00
Cameron Moore
047af7cfe5
tpl: Extend merge to accept multiple parameters
...
Fixes #7595
2020-08-28 09:54:51 +02:00
Cameron Moore
f9ebaaed1b
tpl: Add limit option to replace template function
...
Updates #7586
2020-08-28 08:55:58 +02:00
Jeff Warner
d39636a5fc
commands: Remove logic that hides 'Building Sites' message after build completes
...
Append newline to the message instead.
Fixes #7579
2020-08-22 09:56:43 +02:00
Aurken Bilbao
ad01aea3f4
Fixed misspelled words
2020-08-20 22:34:35 +02:00
Bjørn Erik Pedersen
ec37420468
Improve stderr logging for PostCSS and simlilar
...
Fixes #7584
2020-08-20 22:32:20 +02:00
Bjørn Erik Pedersen
ae63c2b5c9
Fail on partials with return when given none or a zero argument
...
We need to make a proper fix for this, but it is better with an error than just silently continue.
Fixes #7572
Updates #7528
2020-08-19 10:01:16 +02:00
Bjørn Erik Pedersen
e627449c0a
Update to Go 1.15
...
Fixes #7554
2020-08-16 21:37:26 +02:00
Bjørn Erik Pedersen
c2235c6a62
Revert "Update stale.yml"
...
This reverts commit 4f69ade711 .
2020-08-16 18:25:14 +02:00
Bjørn Erik Pedersen
4f69ade711
Update stale.yml
2020-08-15 00:21:08 +02:00
Bjørn Erik Pedersen
f8b8b091fc
Merge commit 'cb39847dee488c373dd5bc2a3706385342a59355'
2020-08-14 18:31:40 +02:00
Bjørn Erik Pedersen
cb39847dee
Squashed 'docs/' changes from a26d0e610..7297c1172
...
7297c1172 Add note about caching for Hugo Pipes.
c91be3403 minor markdown, capitalization and spelling fixes (#1183 )
fd4a103bf Fix several 404 errors (#1162 )
69378bc20 Update related.md
28c24e95f Add note on setting baseURL
7b1502c99 minor typo fix (#1180 )
33abeb4fe Update related.md
4887563f6 Update js.md
ee5f1de2e Hugo 0.74.3
986ea0c8e releaser: Add release notes to /docs for release of 0.74.3
3299b44bd Fix Asciidoctor args
bcb950347 resources/js: Add option for setting bundle format
3f8324918 resources/js: Add es5 build target
git-subtree-dir: docs
git-subtree-split: 7297c11727
2020-08-14 18:31:01 +02:00
Kyle Anderson
5f42590144
Remove trailing whitespace and tabs from RSS templates
...
The rss templates had some tab characters mixed in with the spaces.
Additionally there would end up being trailing whitespace in output
rss feeds, which looks red in git diff.
2020-08-12 09:25:16 +02:00
Fabian Tamp
f3cb0be35a
Fix a typo in CONTRIBUTING.md
...
The URL `git://github.com/USERNAME/hugo.git` is invalid; it should instead be either `https://github.com/USERNAME/hugo.git ` or `git@github.com:USERNAME/hugo.git`. I chose the latter for this PR.
2020-08-07 19:35:48 +02:00
Joe Mooring
bffc4e12fe
Revert "Fix ellipsis display logic in pagination template"
...
This reverts commit 2fa851e650 .
2020-08-06 13:42:08 +02:00
satotake
12f6a1cdc0
Respect mediatypes for deploy
...
Fixes #6861
2020-08-03 19:06:18 +02:00
Joe Mooring
2fa851e650
Fix ellipsis display logic in pagination template
...
Closes #7523
2020-07-31 16:08:23 +02:00
Ricardo N Feliciano
21dbfa1f11
mage: Add uninstall target
2020-07-30 08:44:51 +02:00
Joe Mooring
e5591e89d3
deps: Update Chroma to 0.8.0
...
Closes #7517
2020-07-27 22:12:54 +02:00
Niklas Fasching
88929bc23f
deps: Update go-org to v1.3.1
...
fixes a bug in list item parsing
2020-07-24 19:48:44 +02:00
hugoreleaser
850c18bfe4
releaser: Prepare repository for 0.75.0-DEV
...
[ci skip]
2020-07-23 16:33:19 +00:00
hugoreleaser
da0437b481
releaser: Add release notes to /docs for release of 0.74.3
...
[ci skip]
2020-07-23 16:21:21 +00:00
hugoreleaser
90fe00df07
releaser: Bump versions for release of 0.74.3
...
[ci skip]
2020-07-23 16:21:21 +00:00
hugoreleaser
02efadc243
releaser: Add release notes for 0.74.3
...
[ci skip]
2020-07-23 16:21:21 +00:00
Bjørn Erik Pedersen
00e00da233
publisher: Collect transition attributes as classes
...
Fixes #7509
2020-07-23 16:21:58 +02:00
Helder Pereira
45c665d396
Fix Asciidoctor args
...
* Fix Asciidoctor args
* Fix Asciidoctor args documentation
* Update AsciiDoc documentation
Co-authored-by: Derk Muenchhausen <derk@muenchhausen.de >
Fixes #7493
2020-07-23 15:59:48 +02:00
Joe Mooring
a06c06a5c2
Fix date format in internal schema template
...
Prior to this change, the offset indicator for dates with positive
offsets was rendered as + instead of +.
Fixes #7495
2020-07-23 15:57:20 +02:00
Bjørn Erik Pedersen
0256959a35
resources/js: Add option for setting bundle format
...
Fixes #7503
2020-07-22 10:13:30 +02:00
Bjørn Erik Pedersen
eded9ac2a0
resources/js: Simplify options handling
...
Mostly to minify cache hash breakage.
Updates #7499
2020-07-22 10:13:30 +02:00
Philipp Klose
8d72512825
make sure documentation intro text only appears once
2020-07-21 00:47:55 +02:00
Bjørn Erik Pedersen
e81aef0a95
resources/js: Add es5 build target
2020-07-20 22:26:38 +02:00
Bjørn Erik Pedersen
673e622fa9
Merge commit '28bd06265e88454b061810578919d891909a83ad'
2020-07-20 22:20:33 +02:00
Bjørn Erik Pedersen
28bd06265e
Squashed 'docs/' changes from c3b4f8410..a26d0e610
...
a26d0e610 Add documentation to js.Build (#1175 )
439a22c3e Update index.md
7a779b39a Hugo 0.74.2
07cb5740c Merge branch 'temp742'
abcea676c releaser: Add release notes to /docs for release of 0.74.2
e0dcdbfea Revert "Adding an issue link to the issue creation workflow (#1023 )"
21c7131f1 Adding an issue link to the issue creation workflow (#1023 )
922afb18b Update index.md
b9512b192 Update index.md
b7af5993c Update index.md
816f864b6 Release 0.74.1
1732f3461 Merge branch 'temp741'
d473f21c1 releaser: Add release notes to /docs for release of 0.74.1
bb234e9cd Add release notes 0.74.0
5cb3166d4 releaser: Add release notes to /docs for release of 0.74.0
7f35a3800 Merge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8'
4b7054be5 docs: Regenerate docs helper
1d86f0aed Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'
068b2ab28 Update formats.md doc for new allowed extensions.
d71ed99d3 Add support for inline partials
efe0e549c Rework external asciidoctor integration
git-subtree-dir: docs
git-subtree-split: a26d0e6104
2020-07-20 22:19:42 +02:00
Bjørn Erik Pedersen
9f9191471e
deps: esbuild v0.6.5
2020-07-20 22:19:08 +02:00
hugoreleaser
3727a9d111
releaser: Prepare repository for 0.75.0-DEV
...
[ci skip]
2020-07-17 17:35:17 +00:00
hugoreleaser
48565de62f
releaser: Add release notes to /docs for release of 0.74.2
...
[ci skip]
2020-07-17 17:22:42 +00:00
hugoreleaser
808e126216
releaser: Bump versions for release of 0.74.2
...
[ci skip]
2020-07-17 17:22:42 +00:00
hugoreleaser
aa85a46dc6
releaser: Add release notes for 0.74.2
...
[ci skip]
2020-07-17 17:22:42 +00:00
Bjørn Erik Pedersen
35011bcb26
Add .Defines to js.Build options
...
This is needed to import `react` as a library, e.g.:
```
{{ $jsx := resources.Get "index.jsx" }}
{{ $options := dict "defines" (dict "process.env.NODE_ENV" "\"development\"") }}
{{ $js := $jsx | js.Build $options }}
```
Fixes #7489
2020-07-17 19:09:09 +02:00
hugoreleaser
084624baac
releaser: Prepare repository for 0.75.0-DEV
...
[ci skip]
2020-07-13 19:06:13 +00:00
hugoreleaser
15163266c1
releaser: Add release notes to /docs for release of 0.74.1
...
[ci skip]
2020-07-13 18:52:36 +00:00
hugoreleaser
a74f7d3cc0
releaser: Bump versions for release of 0.74.1
...
[ci skip]
2020-07-13 18:52:36 +00:00
hugoreleaser
cb84d98169
releaser: Add release notes for 0.74.1
...
[ci skip]
2020-07-13 18:52:36 +00:00
Bjørn Erik Pedersen
c91dbe4ce9
Fix baseof block regression
...
From Hugo 0.74.0.
Fixes #7478
2020-07-13 20:45:09 +02:00
hugoreleaser
6e0452e189
releaser: Prepare repository for 0.75.0-DEV
...
[ci skip]
2020-07-13 10:42:11 +00:00
hugoreleaser
d2b1162680
releaser: Add release notes to /docs for release of 0.74.0
...
[ci skip]
2020-07-13 10:30:11 +00:00
hugoreleaser
6265184309
releaser: Bump versions for release of 0.74.0
...
[ci skip]
2020-07-13 10:30:11 +00:00
Bjørn Erik Pedersen
797127010d
Release 0.74.0
2020-07-13 12:20:41 +02:00
hugoreleaser
1672a332da
releaser: Add release notes for 0.74.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-07-13 09:47:04 +00:00
Bjørn Erik Pedersen
823ce055ed
Squashed 'docs/' changes from cfd74b57d..c3b4f8410
...
c3b4f8410 Update theme
0aaecc16c Remove unnecessary period. (#1168 )
git-subtree-dir: docs
git-subtree-split: c3b4f84106
2020-07-13 11:01:55 +02:00
Bjørn Erik Pedersen
5f7a65a080
Merge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8'
2020-07-13 11:01:55 +02:00
Bjørn Erik Pedersen
25e3da3343
docs: Regenerate docs helper
2020-07-13 11:01:38 +02:00
Bjørn Erik Pedersen
9df98ec49c
Add proper Media Type handling in js.Build
...
See #732
2020-07-13 10:56:23 +02:00
Remko Tronçon
2fc3380707
Add js.Build asset bundling
...
Fixes #7321
2020-07-13 10:56:23 +02:00
Bjørn Erik Pedersen
f1916f114b
Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'
2020-07-07 07:00:01 +02:00
Bjørn Erik Pedersen
6aa5c9117f
Squashed 'docs/' changes from ac2c4a487..cfd74b57d
...
cfd74b57d Add a config file update step.
5957d8815 Wrap cache configuration in code-toggle
914405c0e capitalization and indentation fix for taxonomies page (#1159 )
223b80f42 Fix page kinds shortcode not rendering on Taxonomies page (#1158 )
a9b6fa984 Clarify weight description.
29e121681 Warn about zero weights in front matter.
27ce7ba8c Release 0.73.0
e9596b2ee Merge branch 'temp73'
074a270cd releaser: Add release notes to /docs for release of 0.73.0
4f56a9fc0 width fix of expanding code box in documentation (#1156 )
f27254d60 css fix of expanding code box in documentation (#1155 )
43b576178 Fix incorrect directory name in quick-start (#1154 )
16726eacf Add GroupByLastmod
73c31758e Fix for broken link again (#1151 )
d07067295 Fix broken link (#1144 )
bc0b484d1 Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy
674d71842 Fix Typo on Docker section of installation page
b87778165 Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'
c7cdebed3 tpl/crypto: Add hmac
260130cc0 Allow hook template per section/type
1f70519d8 releaser: Add release notes to /docs for release of 0.72.0
8516d540c Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
c49195c69 common/maps: Add Scratch.Values
78072df81 Add redirect support to the server
90ca0af6b Fix typo in install instructions
git-subtree-dir: docs
git-subtree-split: cfd74b57d9
2020-07-07 06:58:43 +02:00
Bjørn Erik Pedersen
12a65e76df
Add openapi3.Unmarshal
...
Fixes #7442
Fixes #7443
2020-07-06 20:03:36 +02:00
Joe Mooring
58c0f5e617
Remove trailing hyphen from auto heading ID
...
Applicable when autoHeadingIDType is either `github` or `github-ascii`.
When autoHeadingIDType is `blackfriday`, the existing code removes
trailing whitespace while iterating through the characters, using
a boolean "futureDash" mechanism.
Fixes #6798
2020-07-05 14:13:02 +02:00
Robert van Gent
a1c3e3c1f3
deploy: Ensure that non-trivial default flag values are passed through.
2020-07-04 21:19:25 +02:00
Bjørn Erik Pedersen
42e150fbfa
Fix server reload when non-HTML shortcode changes
...
Fixes #7448
2020-07-03 23:31:51 +02:00
Bjørn Erik Pedersen
028b356787
tpl/strings: Add strings.Count
...
Fixes #7453
2020-07-03 10:35:46 +02:00
Bryan Klein
e9f87c4e3f
Update formats.md doc for new allowed extensions.
...
This PR documents the changes made in https://github.com/gohugoio/hugo/pull/7447/files adding two other extensions to the Allowed list.
2020-07-03 01:27:51 +02:00
Bjørn Erik Pedersen
defd7106bf
tpl: Add debug.Dump
...
Fixes #3957
2020-07-02 09:04:46 +02:00
Bryan Klein
beb6c03bc8
Update config.go to add two Asciidoctor extensions
...
Added two common extensions to allow my Hugo+Asciidoctor site to build with the new configuration.
2020-07-02 07:57:43 +02:00
Bjørn Erik Pedersen
4a3efea7ef
Add support for inline partials
...
Fixes #7444
2020-07-01 23:10:21 +02:00
Sebastian Boehm
c66dc6c74f
Add support for native Org dates in frontmatter
2020-06-30 10:30:55 +02:00
Niklas Fasching
127d5feb32
deps: Update go-org to v1.3.0
...
- Add support for image links (i.e. link with image as description)
- Kinda breaking: Wrap headlines and headline+content in containers as emacs
Org mode does. Could break people's styles - I don't expect it, but who knows
what counts as sane when it comes to css.
Before:
```
<h2 id="headline-1">FOO</h2>
foo bar
```
After:
```
<div id="outline-container-headline-1" class="outline-2">
<h2 id="headline-1">FOO</h2>
<div id="outline-text-headline-1" class="outline-text-2">
foo bar
</div>
</div>
```
2020-06-29 18:08:06 +02:00
Niklas Fasching
2d42ba912b
deps: Update go-org to v1.2.0
...
- Add support for #+MACRO
- fix a bug with #+LINK (edge case, should never happen anyways :TM:)
- Make title export optional (add export option)
- Remove cosmetic whitespace added by go-org (for easier visual
diffing) inside p tags (<p>\nfoo\n</p> => <p>foo</p>)
(should make `white-space: pre` on p look more in line with expectations)
- implement table separators via multiple tbodies (the html spec is ok with
that)
2020-06-27 13:28:01 +02:00
Bjørn Erik Pedersen
5b7b5dea1f
Update bug_report.md
2020-06-26 21:03:09 +02:00
Bjørn Erik Pedersen
ccfaeb678b
hugolib: Add missing zero check on file
2020-06-26 13:27:01 +02:00
Bjørn Erik Pedersen
057b1377c5
cache: Remove some unused code
2020-06-25 17:34:58 +02:00
Bjørn Erik Pedersen
48dbb593f7
commands: Add an option to print memory usage at intervals
...
Use it with `hugo --print-mem
2020-06-25 12:19:21 +02:00
Derk Muenchhausen
f0266e2ef3
Rework external asciidoctor integration
...
This commit solves the relative path problem with asciidoctor tooling. An include will resolve relatively, so you can refer easily to files in the same folder.
Also `asciidoctor-diagram` and PlantUML rendering works now, because the created temporary files will be placed in the correct folder.
This patch covers just the Ruby version of asciidoctor. The old AsciiDoc CLI EOLs in Jan 2020, so this variant is removed from code.
The configuration is completely rewritten and now available in `config.toml` under the key `[markup.asciidocext]`:
```toml
[markup.asciidocext]
extensions = ["asciidoctor-html5s", "asciidoctor-diagram"]
workingFolderCurrent = true
trace = true
[markup.asciidocext.attributes]
my-base-url = "https://example.com/ "
my-attribute-name = "my value"
```
- backends, safe-modes, and extensions are now whitelisted to the popular (ruby) extensions and valid values.
- the default for extensions is to not enable any, because they're all external dependencies so the build would break if the user didn't install them beforehand.
- the default backend is html5 because html5s is an external gem dependency.
- the default safe-mode is safe, explanations of the modes: https://asciidoctor.org/man/asciidoctor/
- the config is namespaced under asciidocext_config and the parser looks at asciidocext to allow a future native Go asciidoc.
- `uglyUrls=true` option and `--source` flag are supported
- `--destination` flag is required
Follow the updated documentation under `docs/content/en/content-management/formats.md`.
This patch would be a breaking change, because you need to correct all your absolute include pathes to relative paths, so using relative paths must be configured explicitly by setting `workingFolderCurrent = true`.
2020-06-25 09:51:33 +02:00
Bjørn Erik Pedersen
77aa385b84
Enable the embedded template test when race detector is off
...
See #5926
2020-06-25 09:16:28 +02:00
Bjørn Erik Pedersen
545a1c1ced
Merge branch 'release-0.73.0'
2020-06-23 18:45:33 +02:00
hugoreleaser
47aaa52e39
releaser: Prepare repository for 0.74.0-DEV
...
[ci skip]
2020-06-23 16:42:50 +00:00
hugoreleaser
428907cc34
releaser: Add release notes to /docs for release of 0.73.0
...
[ci skip]
2020-06-23 16:29:21 +00:00
hugoreleaser
a78b3e3415
releaser: Bump versions for release of 0.73.0
...
[ci skip]
2020-06-23 16:29:21 +00:00
Bjørn Erik Pedersen
cfcb014515
Release 0.73.0
2020-06-23 18:21:12 +02:00
Mateusz Szczyrzyca
0b579db80f
Updated installation instruction about Sass/SCSS support
2020-06-23 17:08:29 +02:00
hugoreleaser
ee5d027cd5
releaser: Add release notes for 0.73.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-06-23 08:57:01 +00:00
Bjørn Erik Pedersen
4a340ba254
Remove some old release notes
2020-06-23 09:37:25 +02:00
Nico
3466884e36
Create robots.txt in the domain root directory
...
Before a robots.txt is created in every Site. So in public/robots.txt if there are no languages (was correct). But if there are multiple languages in every language directory, too (was wrong). If defaultContentLanguageInSubdir is true, no language is created into the root directory, so no robots.txt is in the root directory (was wrong). If multihosts are configured for each language, that is the only case where one robots.txt must be created in each language directory (was correct).
I've changed the behaviour, that only in the multihost case the robots.txt is created in the language directories. In any other case it is created in public/robots.txt. I've also added tests that files are not created in the wrong directories.
Fixes #5160
See also #4193
2020-06-20 17:13:26 +02:00
Bjørn Erik Pedersen
6ff435aa3f
Make GroupByParamDate work with string params
...
Fixes #3983
2020-06-19 11:58:58 +02:00
Bjørn Erik Pedersen
82abca32fa
Add GroupByLastmod
...
Fixes #7408
2020-06-19 11:58:58 +02:00
Bjørn Erik Pedersen
fc045e12a9
Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy
...
And we have taken great measures to limit potential site breakage:
* For `disableKinds` and `outputs` we try to map from old to new values if possible, if not we print an ERROR that can be toggled off if not relevant.
* The layout lookup is mostly compatible with more options for the new `term` kind.
That leaves:
* Where queries in site.Pages using taxonomy/taxonomyTerm Kind values as filter.
* Other places where these kind value are used in the templates (classes etc.)
Fixes #6911
Fixes #7395
2020-06-18 09:09:56 +02:00
Helder Pereira
9679023f2b
Fix aliases with path in baseURL
2020-06-17 10:52:35 +02:00
Bjørn Erik Pedersen
0a9172672a
Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'
2020-06-16 14:19:31 +02:00
Bjørn Erik Pedersen
efa74c5c6e
Squashed 'docs/' changes from 9be494de3..ac2c4a487
...
ac2c4a487 Update documentation for Ugly URLs (#1082 )
88bdec17a Change 072.0 to 0.72.0 in release post's description
2aa7d7818 Update rss.md (#1104 )
c80677aeb Update quick-start.md (#1076 )
d04196bbd Minor spelling and capitalization fixes
837d2feba Fixed spelling mistake
67dc78e12 Update installing.md
ce280c5d6 Update relurl.md
bb4d0e703 Capitalization and Redirecting URL fixes
e1fecada0 Update partials.md
1d99bb182 Typos and whitespacing issues fixed
b20dba125 actually fix index function link this time
f47d6f1e3 Fixing typos, whitespace issues and links
dc82309b9 fix link to the index function
1eab0cbea add missing word (#1130 )
9c3ee62ae more fixes
e9bc5880a whitespace, typos and HTTPS fixes
93b806493 Add missing word to Module section
80ced9062 Display image on page bundles page.
727029b0a Update index.md
51fc48e4d Release 0.72.0
1ff68ac3b releaser: Add release notes to /docs for release of 0.72.0
f74a25b92 common/maps: Add Scratch.Values
2fd83db96 Add redirect support to the server
bdfccf9f4 Fix typo in install instructions
e12737ea6 Create SUPPORT.md
git-subtree-dir: docs
git-subtree-split: ac2c4a4871
2020-06-16 14:18:51 +02:00
Bjørn Erik Pedersen
6408c1cbc8
Fix server data race/nil pointer in withMaps
...
Fixes #7392
2020-06-16 11:48:10 +02:00
Bjørn Erik Pedersen
522ba1cd98
Fix order of GetTerms
...
Preserve the order from front matter, which would be behaviour when doing this manually (before GetTerms).
Fixes #7213
2020-06-15 22:23:02 +02:00
Cameron Moore
889dc47ceb
Add genDocsHelper mage target
...
Expose the functionality of the hidden `hugo gen docshelper` command as
a mage target.
2020-06-15 20:07:28 +02:00
Helder Pereira
f720fe56db
Fix aliases with uglyURLs
2020-06-15 12:19:59 +02:00
Bjørn Erik Pedersen
d6ed17c60f
Fix crash for closing shortcode with no .Inner set
...
Fixes #6857
Closes #7330
2020-06-14 20:19:08 +02:00
Helder Pereira
145b3fcce3
Fix aliases with relativeURLs
2020-06-14 14:08:41 +02:00
Bjørn Erik Pedersen
01e249e97c
Regenerate templates
2020-06-12 11:29:04 +02:00
Joe Mooring
4b560cc119
Beautify HTML generated by pagination template
...
Fixes #7199 .
2020-06-12 11:27:20 +02:00
Bjørn Erik Pedersen
e3e627e6b7
Add a nested data dir test
...
Ref. a discussion.
2020-06-12 09:14:20 +02:00
Raphael Krupinski
83d03a5201
hugofs: Use os.PathError in RootMappingFs.doLstat
2020-06-11 14:59:01 +02:00
Bjørn Erik Pedersen
fc0f13b684
commands: Fix URL rewrites vs fast render server mode
...
Fixes #7357
2020-06-06 12:37:42 +02:00
Edouard
7eeebe1e5a
tpl/crypto: Add hmac
2020-06-05 20:04:11 +02:00
Alexandros
740fa4a91d
Remove credit ( #7347 )
2020-06-02 19:31:15 +02:00
Bjørn Erik Pedersen
f8c67f93e1
Allow hook template per section/type
...
Fixes #7349
2020-06-02 19:02:10 +02:00
Sam Smith
3d9235e8fc
tpl: Fix bad rounding in NumFmt
...
strconv.FormatFloat doesn't round properly sometimes, this adds a
different method of rounding, fixes #7116
2020-06-02 17:20:36 +02:00
hugoreleaser
f7d909f394
releaser: Prepare repository for 0.73.0-DEV
...
[ci skip]
2020-05-31 12:16:50 +00:00
hugoreleaser
8a7ef3cf4e
releaser: Add release notes to /docs for release of 0.72.0
...
[ci skip]
2020-05-31 12:05:36 +00:00
hugoreleaser
2dfe242ea6
releaser: Bump versions for release of 0.72.0
...
[ci skip]
2020-05-31 12:05:36 +00:00
Bjørn Erik Pedersen
7a1464e547
Release 0.72.0
2020-05-31 13:48:27 +02:00
hugoreleaser
41d50b4dd3
releaser: Add release notes for 0.72.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-05-31 11:03:50 +00:00
Bjørn Erik Pedersen
4d53ae697e
releaser: Adjust the "thanks" section
2020-05-31 12:46:18 +02:00
Bjørn Erik Pedersen
626b16e024
Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
2020-05-31 12:43:33 +02:00
Bjørn Erik Pedersen
9e1dcefc5f
Squashed 'docs/' changes from 6c2195936..9be494de3
...
9be494de3 Clean up the markup config
c3e123133 Remove JustComment
bc1b02bc5 Add Smart to Anchor section
49e796409 Added where .RegularPagesRecursive was added
a92296e31 Fixed the new-in shortcode in pages-vs-site-pages
051e1267c Documented .RegularPagesRecursive
5bcec88a3 Fix broken link in RSS templates page
3db79d433 Correct pull request link on migrations.md
55c347168 Release 0.71.1
11a4e36c3 Merge branch 'temp711'
481fc8ed6 releaser: Add release notes to /docs for release of 0.71.1
40ba83c26 Update site.md
382632b58 Use-modules: More help how to get started importing a theme (#1107 )
06751d465 Addition of hugefastsearch to search options (#1118 )
8346d3b18 Add example of how to set the permalinks option for pages in "root"
ebb3b4f3a Refine highlight shortcode options
1075a172a Update index.md
7cc927ea6 Fix typo in v0.71.0 release notes
4121da273 Pull in latest theme version to get link hooks
4809be651 Document render-heading feature
2078a3bd1 Release 0.71.0
c09f6899e releaser: Add release notes to /docs for release of 0.71.0
90ffe2b50 Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
bf3dd0837 Add math.Pow
git-subtree-dir: docs
git-subtree-split: 9be494de3a
2020-05-31 12:43:23 +02:00
Bjørn Erik Pedersen
2919a6a503
common/maps: Add Scratch.Values
...
Fixes #7335
2020-05-29 19:51:49 +02:00
Bjørn Erik Pedersen
432885c499
deps: Update Goldmark to improve Typographer
...
See https://github.com/yuin/goldmark/releases/tag/v1.1.31
See #7289
2020-05-29 19:02:30 +02:00
Bjørn Erik Pedersen
6a3e89743c
Add redirect support to the server
...
Fixes #7323
2020-05-28 16:25:34 +02:00
Yash Murty
9613e3e8a8
Fix typo in install instructions
2020-05-27 13:54:11 +02:00
Bjørn Erik Pedersen
c950c86b4e
publisher: Fix tag collector for nested table elements
...
Fixes #7318
2020-05-27 11:10:48 +02:00
Anthony Fok
915202494b
snap: Fix build error: my previous commits did not fix it
...
- Revert to legacy snap and my custom plugin x-nodejs for now
- Quote "@babel/cli" and add "@babel/core"
- Change bin/babel.js to bin/babel
2020-05-25 11:26:26 -06:00
hugoreleaser
b3e4f911f4
releaser: Prepare repository for 0.72.0-DEV
...
[ci skip]
2020-05-25 09:21:10 +00:00
hugoreleaser
a301f6b2ae
releaser: Add release notes to /docs for release of 0.71.1
...
[ci skip]
2020-05-25 09:08:55 +00:00
hugoreleaser
646bc85088
releaser: Bump versions for release of 0.71.1
...
[ci skip]
2020-05-25 09:08:55 +00:00
hugoreleaser
5c0d10045d
releaser: Add release notes for 0.71.1
...
[ci skip]
2020-05-25 09:08:55 +00:00
Bjørn Erik Pedersen
81f5633245
Add some more date test cases
...
See #7310
2020-05-24 14:35:49 +02:00
Bjørn Erik Pedersen
9698b0dab1
Fix RenderString vs render hooks
...
Fixes #7265
2020-05-24 13:20:57 +02:00
Bjørn Erik Pedersen
32344fe3db
Prevent WARNINGs in RenderString
2020-05-24 12:49:45 +02:00
Bjørn Erik Pedersen
4d7fa9f114
Fix IsAncestor/IsDescendant for taxonomies
...
Fixes #7305
2020-05-24 12:35:45 +02:00
Bjørn Erik Pedersen
a985efcecf
Fix GetPage on section/bundle name overlaps
...
In the internal Radix we stored the directory based nodes without a traling slash, e.g. `/blog`.
The original motivation was probably to make it easy to do prefix searching: Give me all ancestors.
This, however have lead to some ambigouty with overlapping directory names.
This particular problem was, however, not possible to work around in an easy way, so from now we store these as `/blog/`.
Fixes #7301
2020-05-24 12:35:45 +02:00
Bjørn Erik Pedersen
6c3c6686f5
Fix Go template script escaping
...
Fixes #6695
2020-05-23 22:00:34 +02:00
Bjørn Erik Pedersen
c34bf48560
Add a test helper
2020-05-22 10:57:25 +02:00
hugoreleaser
833d16d467
releaser: Prepare repository for 0.72.0-DEV
...
[ci skip]
2020-05-18 16:18:12 +00:00
hugoreleaser
06150c87be
releaser: Add release notes to /docs for release of 0.71.0
...
[ci skip]
2020-05-18 16:05:47 +00:00
hugoreleaser
330e52ebe6
releaser: Bump versions for release of 0.71.0
...
[ci skip]
2020-05-18 16:05:47 +00:00
Bjørn Erik Pedersen
9e78235374
Release 0.71
2020-05-18 17:57:12 +02:00
hugoreleaser
7cd66c53b9
releaser: Add release notes for 0.71.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-05-18 15:47:00 +00:00
Bjørn Erik Pedersen
723ec555e7
Fix Babel on Windows
...
Fixes #7251
2020-05-18 16:57:13 +02:00
Bjørn Erik Pedersen
518d149646
commands: Use WARN log level also for the early initialization
...
Fixes #7285
2020-05-18 16:52:45 +02:00
Bjørn Erik Pedersen
e0e81b280f
Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
2020-05-18 15:25:26 +02:00
Bjørn Erik Pedersen
c9403cbcea
Squashed 'docs/' changes from ec0abe052..6c2195936
...
6c2195936 Update featured.png
109a0fcca add len function to navigation side menu
39a356bc5 Revert "Add some rickrolls redirects"
b8393b1b5 Add some rickrolls redirects
2ce21c34b Update configuration-markup.md (add rel="noopener")
95bd7974e Disambiguate global and page resources
5e233dc4b Update base.md
959b9dc3a Fix typo on "where" page
aff8059a1 Release 0.70.0
44a172ac0 releaser: Add release notes to /docs for release of 0.70.0
1b01c8988 Release 0.70.0
5ece21c6c Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
0894aec5b Rename transpileJS to babel
5da27c7a6 resources: Add JavaScript transpiling solution
git-subtree-dir: docs
git-subtree-split: 6c21959360
2020-05-18 15:24:58 +02:00
Bjørn Erik Pedersen
3cc41523be
Update to Go 1.14.3 and Go 1.13.11
2020-05-16 23:25:45 +02:00
Bjørn Erik Pedersen
2fd0a5a678
Improve error message when no Babel installed
2020-05-16 12:51:35 +02:00
Cameron Little
6e051c053e
Add test for headings render hook
2020-05-15 21:12:43 +02:00
Eli W. Hunter
423b8f2fb8
Add render template hooks for headings
...
This commit also
* Renames previous types to be non-specific. (e.g. hookedRenderer rather
than linkRenderer)
Resolves #6713
2020-05-15 21:12:43 +02:00
Joe Mooring
991934497e
Add math.Pow
...
Closes #7266
2020-05-14 10:00:31 +02:00
John Weldon
558c09305e
deploy: Do not suppress .well-known/ directory
...
Deployments ignore directories with a leading `.`, but should not ignore
certain well known 'hidden' directories like `.well-known/`
Fixes #6691
2020-05-14 09:56:53 +02:00
Anthony Fok
b69a36140f
snap: Quote "@babel/cli" to solve build error
...
Cannot parse snapcraft.yaml from ~gohugoio/hugo/+git/hugo:master:
while scanning for the next token found character ‘@’ that cannot
start any token in “”, line 70, column 34: node-packages:
[postcss-cli, @babel/cli] ^
Also:
- Upgrade to snapcraft 3.x by adding "base: core"
- Add "license: Apache-2.0"
2020-05-12 14:29:57 -06:00
Anthony Fok
a0103864ab
snap: Remove custom x-nodejs plugin
...
My changes have been merged into snapcraft upstream.
https://bugs.launchpad.net/snapcraft/+bug/1795531
https://bugs.launchpad.net/snapcraft/+bug/1797374
Revert "snap: Add custom x-nodejs plugin to support ppc64el and s390x"
This reverts commit 91f49c0700 .
2020-05-12 14:27:57 -06:00
Cameron Little
b342e8fbdb
Upgrade chroma to 0.7.3 to fix invalid css
...
The new version of chroma includes a fix to not emit styles for tokens
without a class (which is invalid).
Fixes #7207
2020-05-09 17:05:14 +02:00
Daniel Tipping
6205d56b85
Use .Lastmod for og:updated_time
...
.Lastmod is the time at which the website was most recently updated,
rather than .Date which is the time at which the website content file
was created.
2020-05-07 18:42:20 +02:00
hugoreleaser
a5039dddaf
releaser: Prepare repository for 0.71.0-DEV
...
[ci skip]
2020-05-06 11:29:18 +00:00
hugoreleaser
7f47b99ea9
releaser: Add release notes to /docs for release of 0.70.0
...
[ci skip]
2020-05-06 11:16:40 +00:00
hugoreleaser
b98e2f66b0
releaser: Bump versions for release of 0.70.0
...
[ci skip]
2020-05-06 11:16:40 +00:00
Bjørn Erik Pedersen
57ebab7c23
Release 0.70.0
2020-05-06 13:06:10 +02:00
hugoreleaser
0e314925fb
releaser: Add release notes for 0.70.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-05-06 10:24:22 +00:00
Bjørn Erik Pedersen
e4621446ce
Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
2020-05-06 12:12:57 +02:00
Bjørn Erik Pedersen
89044b8f87
Squashed 'docs/' changes from 19f44e150..ec0abe052
...
ec0abe052 Update index.md
ed44339cd Update bio.md
cef04eb95 Minor edits
4d45dcc8d Submitting Digital.gov to the Hugo Showcase
d35126af7 Azure uses storage containers, not buckets; edited accordingly. (#1078 )
9c249cc89 fix grammatical error
9728699a3 Release Hugo 0.69.2
cccabed0c Merge branch 'temp692'
3d0a740c4 releaser: Add release notes to /docs for release of 0.69.2
b760aceb1 HTTPS external links in docs
49e4631b0 Release 0.69.1
01f3da870 Merge branch 'temp691'
8280d85aa releaser: Add release notes to /docs for release of 0.69.1
40ea44d24 fix typo (#1088 )
725f53643 Rebuild cache
80ee1efd9 Add KeyCDN Showcase
f253e906e docs: Fix typo in Hugo's Security Model
b3ffd1ad3 Mentioning a range is equivalent to foreach (#1086 )
0c396911f Update jsonify function docs
376befc9a Fix typo (#1084 )
4bdc9bc72 Mark .Page.UniqueID as deprecated and add .File.UniqueID
30a7b7bf2 Update hosting-on-github.md
c5db4ba2b Update postprocess.md
1121f74a5 Update install guide with Scoop extended
8988aa6fa Merge branch 'postprocess'
225d3f9c7 Release Hugo 0.69.0
4caf7a89a releaser: Add release notes to /docs for release of 0.69.0
664b2a0fa Document resources.PostProcess and buildStats
9737b34e9 docs: Regen docs helper
0fab3ba24 Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'
96dad83b1 Update hosting-on-aws-amplify.md
57eb27897 Merge commit 'c494c37a4523fbf2db6274dc87e0877fd5bec24b'
dcc7afef7 fix typo in getting started
git-subtree-dir: docs
git-subtree-split: ec0abe052b
2020-05-06 12:12:21 +02:00
Piotr Perzyna
01befcce35
deps: Update minify to v2.6.2
...
Fixes #6699
2020-05-03 17:29:26 +02:00
Tom
04b1a6d997
Add support for sort by boolean
2020-05-02 11:57:34 +02:00
Bjørn Erik Pedersen
dd31e80007
deps: Update to Libsass 3.6.4
...
Fixes #7231
2020-05-01 19:14:04 +02:00
Bjørn Erik Pedersen
6add6d77b4
Rename transpileJS to babel
...
And add a test.
Updates #5764
2020-04-29 10:51:33 +02:00
Niek de Wit
2a171ff1c5
resources: Add JavaScript transpiling solution
...
Add a new pipe called TranspileJS which uses the Babel cli. This makes it possible for users to write ES6 JavaScript code and transpile it to ES5 during website generation so that the code still works with older browser versions.
Fixes #5764
2020-04-29 10:51:33 +02:00
Bjørn Erik Pedersen
67f920419a
Disable a test locally
...
It has started to fail in LiteIDE for some reason (works from the shell and on CI).
2020-04-28 12:24:02 +02:00
Bjørn Erik Pedersen
c03ea2b660
Fix some missing JS class collector cases
...
Fixes #7216
2020-04-27 19:06:29 +02:00
Michael Lynch
fe60b7d9e4
Add diagnostic hints to init timeout message
...
Expand the text in the init timeout message to give the reader more hints as to what may be causing the issue.
The current error sent me on a wild goose chase trying to debug my shortcodes, but it turned out that the issue was just that I wasn't caching my resources/ directory on my build server. Once I found this blog post, I solved the issue in minutes:
https://www.henriksommerfeld.se/hugo-timeout-not-a-circular-loop-in-shortcode/
Googling the error message yields several additional posts from users who focus on loops in their shortcode when the problem seems to be overly-expensive builds.
2020-04-27 13:23:35 +02:00
hugoreleaser
c2d9fd1ebe
releaser: Prepare repository for 0.70.0-DEV
...
[ci skip]
2020-04-24 08:00:48 +00:00
hugoreleaser
ec9dcf3048
releaser: Add release notes to /docs for release of 0.69.2
...
[ci skip]
2020-04-24 07:48:07 +00:00
hugoreleaser
03802ff3cb
releaser: Bump versions for release of 0.69.2
...
[ci skip]
2020-04-24 07:48:07 +00:00
hugoreleaser
5e31198c98
releaser: Add release notes for 0.69.2
...
[ci skip]
2020-04-24 07:48:07 +00:00
Takayama Fumihiko
8d5766d417
Fix IsAncestor and IsDescendant when the same page is passed
2020-04-23 20:23:42 +02:00
SatowTakeshi
5c41f41ad4
deps: Update goldmark-highlighting
...
Recreate #7027
Fixes #6596
2020-04-23 18:48:52 +02:00
Takayama Fumihiko
27a4c4410c
Fix IsAncestor and IsDescendant under subsection
2020-04-23 18:12:13 +02:00
hugoreleaser
ade27699e5
releaser: Prepare repository for 0.70.0-DEV
...
[ci skip]
2020-04-22 08:07:03 +00:00
hugoreleaser
17661debb6
releaser: Add release notes to /docs for release of 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
hugoreleaser
8549189e8e
releaser: Bump versions for release of 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
hugoreleaser
c2c7a4ce5b
releaser: Add release notes for 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
Panagiotis Koursaris
49e6c8cb4e
hugolib/filesystems: Fix typo in test suite
2020-04-21 23:16:36 +02:00
Bjørn Erik Pedersen
f37e77f2d3
Fix class collector when running with --minify
...
Also add a related stresstest.
Fixes #7161
2020-04-21 21:00:52 +02:00
Bjørn Erik Pedersen
27af5a339a
related: Fix toLower
...
Don't change the slice.
Fixes #7198
2020-04-21 17:46:26 +02:00
Bjørn Erik Pedersen
b3c825756f
Fix broken test
2020-04-21 16:44:35 +02:00
BurtonQin
5146dc614f
tpl/tmplimpl/template: Change defer RLock to RUnlock
2020-04-21 13:23:31 +02:00
Boqin Qin
736f84b2d5
hugolib: Add Unlock before panic
2020-04-20 17:47:34 +02:00
Onur Yaman
cd4d820201
docs: Fix typo in Hugo's Security Model
2020-04-18 14:16:42 +02:00
Niklas Fasching
2b28e5a9cb
deps: Update go-org to v1.1.0
...
- inline source blocks and exports
- result blocks and source block :exports parameter
- fix: html escaping in example blocks
- #+LINK based links
2020-04-17 22:07:52 +02:00
Steve
102ec2da7a
commands: Modify gen chromastyles to output all CSS classes
...
Chroma was updated to include a new function to output all CSS
classes without skipping any considered redundant with the current
style.
This will modify the `hugo gen chromastyles` command to use this new
function by default, which avoids potential problems if the style is
later modified.
Also includes requires the updated Chroma (v0.7.2).
Resolves #7167
2020-04-13 18:31:33 +02:00
Bjørn Erik Pedersen
feaa582cbe
deps: Update to goldmark v1.1.28
...
Fixes #7113
2020-04-13 16:55:23 +02:00
Bjørn Erik Pedersen
ee67dbeff5
Fix query parameter handling in server fast render mode
...
There may be a simpler way to get to the raw path, but this will have to do for now.
Fixes #7163
2020-04-12 19:18:54 +02:00
hugoreleaser
4a3f2427ed
releaser: Prepare repository for 0.70.0-DEV
...
[ci skip]
2020-04-10 09:19:20 +00:00
hugoreleaser
4205844bce
releaser: Add release notes to /docs for release of 0.69.0
...
[ci skip]
2020-04-10 09:08:37 +00:00
hugoreleaser
9b55d13589
releaser: Bump versions for release of 0.69.0
...
[ci skip]
2020-04-10 09:08:37 +00:00
Bjørn Erik Pedersen
6f56a636f6
Update 0.69.0-relnotes.md
2020-04-10 10:58:36 +02:00
hugoreleaser
5ec7fa343a
releaser: Add release notes for 0.69.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-04-10 08:25:47 +00:00
Bjørn Erik Pedersen
b7ff4dc23e
docs: Regen docs helper
2020-04-10 09:07:41 +02:00
Bjørn Erik Pedersen
da3c3e5fbd
Squashed 'docs/' changes from 20d77860b..19f44e150
...
19f44e150 fix typo (#1077 )
b66478084 Fix build listing improvements version
git-subtree-dir: docs
git-subtree-split: 19f44e150f
2020-04-10 09:06:04 +02:00
Bjørn Erik Pedersen
30748decf1
Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'
2020-04-10 09:06:04 +02:00
Bjørn Erik Pedersen
095bf64c99
Collect HTML elements during the build to use in PurgeCSS etc.
...
The main use case for this is to use with resources.PostProcess and resources.PostCSS with purgecss.
You would normally set it up to extract keywords from your templates, doing it from the full /public takes forever for bigger sites.
Doing the template thing misses dynamically created class names etc., and it's hard/impossible to set up in when using themes.
You can enable this in your site config:
```toml
[build]
writeStats = true
```
It will then write a `hugo_stats.json` file to the project root as part of the build.
If you're only using this for the production build, you should consider putting it below `config/production`.
You can then set it up with PostCSS like this:
```js
const purgecss = require('@fullhuman/postcss-purgecss')({
content: [ './hugo_stats.json' ],
defaultExtractor: (content) => {
let els = JSON.parse(content).htmlElements;
return els.tags.concat(els.classes, els.ids);
}
});
module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer'),
...(process.env.HUGO_ENVIRONMENT === 'production' ? [ purgecss ] : [])
]
};
```
Fixes #6999
2020-04-09 22:57:26 +02:00
Elliott Sales de Andrade
7791a804e2
deps: Update to latest emoji package
2020-04-08 12:56:14 +02:00
Helicer
c774b230e9
Update hosting-on-aws-amplify.md
...
AWS Amplify now supports a GUI method for using the latest `hugo` version. Please feel free to modify my wording here, etc.
2020-04-07 22:48:55 +02:00
Bjørn Erik Pedersen
2f721f8ec6
Add basic "post resource publish support"
...
Fixes #7146
2020-04-07 21:59:20 +02:00
Cameron Moore
8568928aa8
tpl: Extend Jsonify to support options map
...
Add support for prefix and indent options used by json.MarshalIndent
from the Go stdlib.
2020-04-07 20:01:57 +02:00
Cameron Moore
1bc93021e3
tpl: Extend Jsonify to support optional indent parameter
...
Fixes #5040
2020-04-07 20:01:57 +02:00
Robert Fekete
7eba37ae9b
Typo correction
2020-04-07 19:47:44 +02:00
Jay Williams
efc61d6f3b
commands: Use semver for min_version per recommendations
...
See https://github.com/gohugoio/hugoThemes#themetoml
2020-04-07 19:42:45 +02:00
Bjørn Erik Pedersen
d8d6a25b57
modules: Fix hugo mod vendor for regular file mounts
...
Fixes #7140
2020-04-07 10:13:55 +02:00
Bjørn Erik Pedersen
9f12be54ee
Revert "Revert "common/herrors: Fix typos in comments""
...
OK, I'm getting tired. Sorry for the noise.
This reverts commit 4437e918cd .
2020-04-06 01:07:57 +02:00
Bjørn Erik Pedersen
4437e918cd
Revert "common/herrors: Fix typos in comments"
...
This reverts commit 1123711b09 .
2020-04-06 01:06:27 +02:00
Shubham Shahare
4de3ecdc26
deps: Updateto gitmap v1.1.2
...
Fixes #6985
2020-04-04 23:24:33 +02:00
rnazmo
1123711b09
common/herrors: Fix typos in comments
2020-04-02 22:06:22 +02:00
Bjørn Erik Pedersen
3d84ef9720
Merge commit 'c494c37a4523fbf2db6274dc87e0877fd5bec24b'
2020-03-31 22:11:54 +02:00
Bjørn Erik Pedersen
c494c37a45
Squashed 'docs/' changes from 2a0ea423d..20d77860b
...
20d77860b Remove the calibre image action
58f53654d Improve image metadata formatting (#1067 )
c569f3657 Update theme
80e6d362e Update theme
d5806cca5 Update theme
efc5cb227 Remove broken link on "where" page (#1058 )
443266076 Comments Alternatives (#1036 )
9b480ebb7 Fix typo
1402365ee Fix included typo in build-options.md
3b5a76de1 Update index.md
1196c7695 Update index.md
1887ea1ed Update index.md
d0666e74e Hugo 0.68.3
d514cfac9 Merge branch 'temp683'
49e57362b releaser: Add release notes to /docs for release of 0.68.3
fa0ac3bf1 Merge branch 'temp682'
46993c209 Release 0.68.2
4c8d6d242 releaser: Add release notes to /docs for release of 0.68.2
9694f4d36 Update index.md
368a03754 Update index.md
0d997010c Merge branch 'temp681'
24138a9cd releaser: Add release notes to /docs for release of 0.68.1
7dd6cc788 Update index.md
b6125b4a8 Update build-options.md
a2dead37a Release 0.68.0
7cff41348 Merge branch 'temp680'
b3b37959c releaser: Add release notes to /docs for release of 0.68.0
0f98184b0 Some minify configuration adjustments
02219f787 Add minify config
efeea7be0 Allow headless bundles to list pages via $page.Pages and $page.RegularPages
7950d0ad1 Mention `resources` folder in the "Directory structure" docs.
git-subtree-dir: docs
git-subtree-split: 20d77860b2
2020-03-31 22:10:45 +02:00
SatowTakeshi
9c9987535f
helpers: Fix TrimShortHTML
...
Where some tags are siblings of p tag.
Fixes #7081
2020-03-28 11:10:25 +01:00
Bjørn Erik Pedersen
4a39564efe
Fix IsDescendant/IsAncestor for overlapping section names
...
Fixes #7096
2020-03-26 16:11:36 +01:00
Stéphane Wirtel
b6e097cfe6
fix typo in getting started
2020-03-24 17:31:37 +01:00
hugoreleaser
19a8accc9f
releaser: Prepare repository for 0.69.0-DEV
...
[ci skip]
2020-03-24 12:16:13 +00:00
hugoreleaser
157669a0e6
releaser: Add release notes to /docs for release of 0.68.3
...
[ci skip]
2020-03-24 12:04:27 +00:00
hugoreleaser
8f49df946a
releaser: Bump versions for release of 0.68.3
...
[ci skip]
2020-03-24 12:04:27 +00:00
hugoreleaser
1a68ad4e31
releaser: Add release notes for 0.68.3
...
[ci skip]
2020-03-24 12:04:27 +00:00
Bjørn Erik Pedersen
523d51948f
Fix _build.list.local logic
...
Fixes #7089
2020-03-24 12:47:42 +01:00
hugoreleaser
971b28904b
releaser: Prepare repository for 0.69.0-DEV
...
[ci skip]
2020-03-24 08:33:02 +00:00
hugoreleaser
63bbb40dfb
releaser: Add release notes to /docs for release of 0.68.2
...
[ci skip]
2020-03-24 08:21:09 +00:00
hugoreleaser
73ae6d581d
releaser: Bump versions for release of 0.68.2
...
[ci skip]
2020-03-24 08:21:09 +00:00
hugoreleaser
e18a2ad3f4
releaser: Add release notes for 0.68.2
...
[ci skip]
2020-03-24 08:21:09 +00:00
Bjørn Erik Pedersen
cfa73050a4
Fix cache reset for a page's collections on server live reload
...
Fixes #7085
2020-03-23 23:14:39 +01:00
hugoreleaser
244e49c0ea
releaser: Prepare repository for 0.69.0-DEV
...
[ci skip]
2020-03-22 10:47:54 +00:00
hugoreleaser
98dc46e1a9
releaser: Add release notes to /docs for release of 0.68.1
...
[ci skip]
2020-03-22 10:36:42 +00:00
hugoreleaser
87dd5725de
releaser: Bump versions for release of 0.68.1
...
[ci skip]
2020-03-22 10:36:42 +00:00
hugoreleaser
8c6a03a92b
releaser: Add release notes for 0.68.1
...
[ci skip]
2020-03-22 10:36:42 +00:00
Bjørn Erik Pedersen
1ce3e7d521
releaser: Include "Revert" commits in change log
2020-03-21 18:51:29 +01:00
Bjørn Erik Pedersen
c9dc316ad1
Revert "resources: Add data context to the key in ExecuteAsTemplate"
...
This reverts commit 18cb21ff2e .
Fixes #7064
2020-03-21 18:38:19 +01:00
hugoreleaser
1664a0e893
releaser: Prepare repository for 0.69.0-DEV
...
[ci skip]
2020-03-21 11:59:39 +00:00
hugoreleaser
1e67854b1a
releaser: Add release notes to /docs for release of 0.68.0
...
[ci skip]
2020-03-21 11:47:37 +00:00
hugoreleaser
e1b609af9b
releaser: Bump versions for release of 0.68.0
...
[ci skip]
2020-03-21 11:47:37 +00:00
Bjørn Erik Pedersen
8e5566af6e
Release 0.68.0
2020-03-21 12:41:25 +01:00
Bjørn Erik Pedersen
1005f754e0
Update 0.68.0-relnotes.md
...
[ci skip]
2020-03-21 12:40:46 +01:00
hugoreleaser
efde7078ed
releaser: Add release notes for 0.68.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-03-21 11:33:28 +00:00
Bjørn Erik Pedersen
2ebb9f5484
Fix Go build version
2020-03-21 12:25:03 +01:00
Bjørn Erik Pedersen
7204b354a9
Some minify configuration adjustments
2020-03-20 20:35:57 +01:00
SatowTakeshi
574c2959b8
Add minify config
...
Fixes #6750
Updates #6892
2020-03-20 20:35:57 +01:00
Bjørn Erik Pedersen
99958f90fe
Allow headless bundles to list pages via $page.Pages and $page.RegularPages
...
Fixes #7075
2020-03-20 18:28:55 +01:00
Bjørn Erik Pedersen
1d91d8e14b
Update to Go 1.14.1 and 1.13.9
...
Fixes #7078
2020-03-20 18:25:54 +01:00
Carl Johnson
95f492114e
Fix GetTerms nil pointer
...
Fixes #7061
2020-03-20 14:35:41 +01:00
Bjørn Erik Pedersen
c947351d7c
Merge commit 'aa54803a84208816e9c678359bd3f86760484ce0'
2020-03-20 09:19:29 +01:00
Bjørn Erik Pedersen
aa54803a84
Squashed 'docs/' changes from 988f7d5c2..2a0ea423d
...
2a0ea423d Wrap cascade ex in code toggle
841573e3e Correcting reference for YouTube shortcode (#1055 )
8f9378f93 Release 0.67.1
178759468 Merge branch 'temp671'
1b5ae9cb1 releaser: Add release notes to /docs for release of 0.67.1
a87aa44ec Don't set GOPATH when building from source
bd35dfbd8 Update hugo-deploy.md
527cf3b2b Adding a commercial search service
709844459 Add languageDirection to language configuration
523be23eb Fix include typo on v67 Release Notes
fdd7cc66c Adjust relase notes
613ba75e8 releaser: Add release notes to /docs for release of 0.67.0
3fb1376d1 docs: Doument the server config
6408a9b4e Merge commit '14e369b961943a0b977776899e24e8bea63834df'
10457ca46 deploy: Add include and exclude support for remote
git-subtree-dir: docs
git-subtree-split: 2a0ea423d7
2020-03-20 09:18:47 +01:00
Evan Anderson
cc2a5d52a4
Pass directory name to filters in LstatIfPossible in the same way as Readdir
2020-03-19 20:09:34 +01:00
Elliott Sales de Andrade
52c159c452
Update to goldmark 1.1.25.
...
This fixes a bug, so there's a small change to tests.
2020-03-19 12:26:19 +01:00
Bjørn Erik Pedersen
c7b6d74e89
resources: Fix scss vs css import regexp
...
Fixes #7063
2020-03-17 08:03:25 +01:00
Bjørn Erik Pedersen
1a8af7d4f0
Add workaround for regular CSS imports in SCSS
...
Fixes #7059
2020-03-16 23:21:44 +01:00
Bjørn Erik Pedersen
03b93bb988
Add .RegularPagesRecursive
...
Fixes #6411
2020-03-16 17:37:36 +01:00
hugoreleaser
94fb4dc3dd
releaser: Prepare repository for 0.68.0-DEV
...
[ci skip]
2020-03-15 19:41:55 +00:00
hugoreleaser
4f44227bd8
releaser: Add release notes to /docs for release of 0.67.1
...
[ci skip]
2020-03-15 19:30:34 +00:00
hugoreleaser
99d36237c0
releaser: Bump versions for release of 0.67.1
...
[ci skip]
2020-03-15 19:30:33 +00:00
hugoreleaser
e371162c3f
releaser: Add release notes for 0.67.1
...
[ci skip]
2020-03-15 19:30:33 +00:00
Bjørn Erik Pedersen
5eadc4c0a8
metrics: Fix --templateMetricsHints
...
Also improve non-string comparisons.
Fixes #7048
2020-03-12 19:26:19 +01:00
Bjørn Erik Pedersen
18cb21ff2e
resources: Add data context to the key in ExecuteAsTemplate
...
Fixes #7046
2020-03-11 22:21:16 +01:00
Bjørn Erik Pedersen
df298558a5
Improve Tailwind/PostCSS error messages
...
Fixes #7041
Fixes #7042
2020-03-11 14:13:03 +01:00
Bjørn Erik Pedersen
b1106f8715
deps: Update Blackfriday
...
Fixes #7039
2020-03-10 13:06:23 +01:00
Bjørn Erik Pedersen
c0177fe2b2
resources: Try to fix a Go 1.15 go vet error
2020-03-10 12:29:09 +01:00
Tan Yuanhong
5914f91b6c
Add languageDirection to language configuration
...
Fixes #6550
2020-03-10 10:10:58 +01:00
hugoreleaser
5b4659fa0b
releaser: Prepare repository for 0.68.0-DEV
...
[ci skip]
2020-03-09 20:47:30 +00:00
hugoreleaser
7f1da3efcd
releaser: Add release notes to /docs for release of 0.67.0
...
[ci skip]
2020-03-09 20:35:43 +00:00
hugoreleaser
f7d4b01c6d
releaser: Bump versions for release of 0.67.0
...
[ci skip]
2020-03-09 20:35:43 +00:00
Bjørn Erik Pedersen
b809b9680d
Update 0.67.0-relnotes.md
2020-03-09 21:26:43 +01:00
hugoreleaser
a9c91361c2
releaser: Add release notes for 0.67.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-03-09 20:11:33 +00:00
Bjørn Erik Pedersen
63393230c9
docs: Doument the server config
2020-03-09 20:36:00 +01:00
Bjørn Erik Pedersen
6b61f2a5bb
Merge commit '14e369b961943a0b977776899e24e8bea63834df'
2020-03-09 20:21:17 +01:00
Bjørn Erik Pedersen
14e369b961
Squashed 'docs/' changes from 341ecabb2..988f7d5c2
...
988f7d5c2 Document default `enableInlineShortcodes` value
0f604a345 Fix typo in 0.66.0 release note
26fc74fe3 How to access individual EXIF data tags
d5d3bad9a Fix localhost links
fa6921213 Update index.md
5bf558f78 Release 0.66.0
74ccdaaf5 Merge branch 'temp660'
75faa478b releaser: Add release notes to /docs for release of 0.66.0
c4a4a9922 docs: Regen CLI docs
0624ac198 Add build.UseResourceCacheWhen
58a8d7cd1 Add build options documentation
d926c595e fix typo
99713d44b resources: Add basic @import support to resources.PostCSS
224b96cf7 deploy: Implement include/exclude filters for deploy
eb1a00050 Adjusting description; WordPress with capitalized P
91d8efa22 Add another tool for migration from the Wordpress
a6938a4ac Adjust showcase description
a9c0a0a69 Adjust showcase
e5af08aa6 Adding Aether as a proposed showcase item.
0013daa34 Add hugo.IsProduction function
34c419ef3 tpl: Add math.Sqrt
5bdab0ebd Update minification.md
9039332e2 Hugo 0.65.3
1400caf3a Merge branch 'temp653'
9796bb337 releaser: Add release notes to /docs for release of 0.65.3
65b26598f Fix typo
23aa57d80 Fix crashes for 404 in IsAncestor etc.
42c54bc6c 0.65.2
67fd5c1f6 Merge branch 'temp652'
d820ac017 releaser: Add release notes to /docs for release of 0.65.2
51f0888ff Release 0.65.1
91e95260c releaser: Add release notes to /docs for release of 0.65.1
1880ebf05 fix broken link on internal.md
ffaa33889 Update migrations.md
de4d64675 Another tool for migration from Medium platform
90b178d77 releaser: Add release notes to /docs for release of 0.65.1
6925cda30 Handle corner case with rendering text as code in URL
3cb4b19dd Release 0.65.0
7a600cb99 Merge branch 'temp650'
ef9531ff6 releaser: Add release notes to /docs for release of 0.65.0
9bc19606f docs: Regenerate CLI docs
d4a886ed2 Add Page.GetTerms
a3bf273a5 fix broken link on use-modules.md
001f52f4e Fix mage URL in development.md
eef72e887 Merge commit '4b670bc8cc38103c2c60e5090c2f56bf30832b8d'
b18a76631 commands: Support "hugo mod get -u ./..."
git-subtree-dir: docs
git-subtree-split: 988f7d5c2d
2020-03-09 20:19:32 +01:00
Bjørn Erik Pedersen
6cceef65c2
Fix ambigous error on site.GetPage
...
Fixes #7016
2020-03-09 16:11:50 +01:00
Bjørn Erik Pedersen
ffcb4aeb8e
Fix handling of HTML files without front matter
...
This means that any HTML file inside /content will be treated as a regular file.
If you want it processes with shortcodes and a layout, add front matter.
The defintion of an HTML file here is:
* File with extension .htm or .html
* With first non-whitespace character "<" that isn't a HTML comment.
This is in line with the documentation.
Fixes #7030
Fixes #7028
See #6789
2020-03-09 15:01:55 +01:00
satotake
8279d2e227
Support unComparable args of uniq/complement/in
...
Fixes #6105
2020-03-09 13:32:38 +01:00
Sam Smith
c4fa2f0799
tpl: Fix error with unicode in file paths
...
Add url.QueryUnescape before reading file which allows files with
unicode in their paths to be read.
Fixes #6996
2020-03-09 13:31:04 +01:00
Bjørn Erik Pedersen
108314444b
Add HTTP header support for the dev server
...
Fixes #7031
2020-03-08 19:57:30 +01:00
David Jones
51e178a6a2
deploy: Add include and exclude support for remote
2020-03-08 17:35:32 +01:00
hugoreleaser
cb12f41a96
releaser: Prepare repository for 0.67.0-DEV
...
[ci skip]
2020-03-03 15:31:19 +00:00
hugoreleaser
78c3c78fca
releaser: Add release notes to /docs for release of 0.66.0
...
[ci skip]
2020-03-03 15:19:36 +00:00
hugoreleaser
713132cd4b
releaser: Bump versions for release of 0.66.0
...
[ci skip]
2020-03-03 15:19:36 +00:00
Bjørn Erik Pedersen
bbaefd7e3e
Update 0.66.0-relnotes.md
2020-03-03 16:10:42 +01:00
hugoreleaser
cc1a718860
releaser: Add release notes for 0.66.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-03-03 14:55:26 +00:00
Bjørn Erik Pedersen
6a34f88dcc
Skip some tests on CircleCI
2020-03-03 15:45:13 +01:00
Carl Johnson
ae383f04c8
{{ in }} should work with html.Template type
...
Fixes #7002
2020-03-03 13:37:42 +01:00
Bjørn Erik Pedersen
ee31e61fb0
docs: Regen CLI docs
2020-03-03 13:36:35 +01:00
Bjørn Erik Pedersen
760a87a45a
commands: Add --all flag to hugo mod clean
2020-03-03 13:29:58 +01:00
Bjørn Erik Pedersen
3d3fa5c3fe
Add build.UseResourceCacheWhen
...
Fixes #6993
2020-03-03 13:29:58 +01:00
Anthony Fok
ee3d02134d
Update dependency list in README.md
...
to include only runtime dependencies,
i.e. what is in the released binary.
2020-03-02 22:51:20 -07:00
Bjørn Erik Pedersen
8947c3fa0b
Fix ref/relref short lookup for pages in sub-folder
...
Fixes #6952
2020-03-02 21:08:28 +01:00
Sam Smith
d7798906d8
tpl: Change error message on missing resource
...
Fixes #6942
2020-03-02 18:46:14 +01:00
Bjørn Erik Pedersen
305ce1c9ec
resources: Add full filename to image when processing fails
...
Fixes #7000
2020-03-02 12:39:26 +01:00
Bjørn Erik Pedersen
3e9db2ad95
hugolib: Fix error handling in page collector
...
Fixes #6988
2020-03-02 11:07:09 +01:00
Anthony Fok
449deb7f9c
Update dependency list in README
2020-03-02 01:10:42 -07:00
Bjørn Erik Pedersen
1746e8a9b2
Fix ref/relRef regression for relative refs from bundles
...
Fixes #6952
2020-02-29 18:32:06 +01:00
Bjørn Erik Pedersen
6f48146e75
identity: Fix potential infinite recursion in server change detection
...
Fixes #6986
2020-02-29 15:12:56 +01:00
Bjørn Erik Pedersen
b0d850321e
Fix rebuild logic when editing template using a base template
...
We have been doing too much work in that case.
Fixes #6968
2020-02-28 14:14:55 +01:00
Bjørn Erik Pedersen
b66d38c419
resources: Add basic @import support to resources.PostCSS
...
This commit also makes the HUGO_ENVIRONMENT environment variable available to Node.
Fixes #6957
Fixes #6961
2020-02-27 11:47:24 +01:00
Robert van Gent
05a74eaec0
deploy: Implement include/exclude filters for deploy
...
Fixes #6922
2020-02-27 07:26:05 +01:00
Bjørn Erik Pedersen
33ae621083
Update to Go 1.14 and 1.13.8
...
Fixes #6958
2020-02-26 17:33:11 +01:00
Joshua Wong
1352bc880d
Add hugo.IsProduction function
...
Fixes #6873
2020-02-25 17:58:07 +01:00
Chris Dennis
d184e5059c
tpl: Add math.Sqrt
...
Fixes #6941
2020-02-24 23:45:04 +01:00
hugoreleaser
322c285ba2
releaser: Prepare repository for 0.66.0-DEV
...
[ci skip]
2020-02-23 10:09:29 +00:00
hugoreleaser
211ba42a95
releaser: Add release notes to /docs for release of 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
hugoreleaser
0ac528d746
releaser: Bump versions for release of 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
hugoreleaser
d8bde266c1
releaser: Add release notes for 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
Bjørn Erik Pedersen
0bd6356c6d
Fix panic when home page is drafted
...
Fixes #6927
2020-02-23 00:11:10 +01:00
satotake
ca68abf0bc
Fix goldmark toc rendering
...
Previously gordmark-based TOC renderes only `KindText` and `KindString`
This commit expands target node with Goldmark's renderer
I am not sure of what are expected results as TOC contents in some (rare) cases
but Blackfriday's behaviours are fundamentally respected.
For example,
- image `[image text](link)` is rendered as `<img>` tag
- GFM AutoLink `gohugo.io` is rendered as text
* Render AutoLink as <a> tag as Blackfriday does
Fixes #6736
Fixes #6809
2020-02-22 18:06:30 +01:00
Bjørn Erik Pedersen
a524124beb
Fix crashes for 404 in IsAncestor etc.
...
Fixes #6931
2020-02-22 13:36:04 +01:00
hugoreleaser
c1eb625124
releaser: Add release notes to /docs for release of 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
hugoreleaser
1510f07780
releaser: Bump versions for release of 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
hugoreleaser
aa2ef45421
releaser: Add release notes for 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
Bjørn Erik Pedersen
76b2afe642
Apply missing go fmt
2020-02-21 10:12:33 +01:00
Bjørn Erik Pedersen
f460530347
Fix panic on no output formats
...
A page needs its output formats even if it should not be rendered or its resources should not be published.
Fixes #6924
2020-02-21 09:41:39 +01:00
Bjørn Erik Pedersen
4c2a0de412
Fix panic in 404.Parent
...
Fixes #6924
2020-02-21 08:14:08 +01:00
hugoreleaser
6be6684cc5
releaser: Add release notes to /docs for release of 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
hugoreleaser
dbaa15d40f
releaser: Bump versions for release of 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
hugoreleaser
a449e87da7
releaser: Add release notes for 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
Bjørn Erik Pedersen
7ef5a4c83e
hugolib: Fix 2 Paginator.Pages taxonomy regressions
...
Fixes #6921
Fixes #6918
2020-02-20 14:13:04 +01:00
Bjørn Erik Pedersen
a70bbd0696
hugolib: Fix deletion of orphaned sections
...
Avoid deleting inside the recursive walk.
Fixes #6920
2020-02-20 13:40:16 +01:00
hugoreleaser
24afe2b822
releaser: Add release notes to /docs for release of 0.65.0
...
[ci skip]
2020-02-20 08:11:06 +00:00
hugoreleaser
9fd7d3957e
releaser: Bump versions for release of 0.65.0
...
[ci skip]
2020-02-20 08:11:06 +00:00
hugoreleaser
c45025cb90
releaser: Add release notes for 0.65.0
2020-02-20 09:01:06 +01:00
Bjørn Erik Pedersen
a5ebdf7d17
docs: Regenerate CLI docs
2020-02-19 22:28:06 +01:00
Bjørn Erik Pedersen
9bdedb251c
Fix lazy publishing with publishResources=false
...
Fixes #6914
2020-02-19 18:22:41 +01:00
Bjørn Erik Pedersen
dce210ab56
modules: Improve "hugo mod clean"
...
* Only clean project modules
* Optional glob pattern of module paths to clean
Closes #6907
2020-02-19 17:14:35 +01:00
Bjørn Erik Pedersen
0b96aba022
commands: Add "hugo mod verify"
...
See #6907
2020-02-19 17:14:35 +01:00
Bjørn Erik Pedersen
fa520a2d98
Add Page.GetTerms
...
Fixes #6905
2020-02-19 14:52:23 +01:00
Bjørn Erik Pedersen
4b670bc8cc
Squashed 'docs/' changes from 16753a78d..341ecabb2
...
341ecabb2 Update lookup-order.md
bfabd8ce8 Update homepage.md
7a1e0b742 Update shortcodes.md
e8bf22497 HTTPS links to Vimeo embeds
a9d0e7c68 Revise the wildly inaccurate types doc
af33bb724 netlify: Bump version
f4251583e Merge branch 'temp641'
4dcda861d releaser: Add release notes to /docs for release of 0.64.1
92bd0b1f5 Update errorf.md
git-subtree-dir: docs
git-subtree-split: 341ecabb29
2020-02-19 09:16:56 +01:00
Bjørn Erik Pedersen
82029c1ec9
Merge commit '4b670bc8cc38103c2c60e5090c2f56bf30832b8d'
2020-02-19 09:16:56 +01:00
Bjørn Erik Pedersen
7489a86459
Add a list terms benchmark
...
See #6905
2020-02-19 09:08:32 +01:00
Bjørn Erik Pedersen
da54787cfa
Handle disabled RSS even if it's defined in outputs
...
See https://github.com/gohugoio/hugo/issues/6897#issuecomment-587947078
2020-02-19 09:08:31 +01:00
Elliott Sales de Andrade
c7975b48b6
Fix goMinorVersion on non-final Go releases
...
This should work for alpha/beta/rc releases.
2020-02-19 08:46:21 +01:00
Bjørn Erik Pedersen
b2dcd53e3c
Use the tree for taxonomy.Pages()
2020-02-18 19:47:45 +01:00
Bjørn Erik Pedersen
36983e6189
Add some cagegories to the site collections benchmarks
2020-02-18 18:52:35 +01:00
Bjørn Erik Pedersen
d73e37387c
tpl: Adjust the RSS taxonomy logic
...
See #6909
2020-02-18 17:29:46 +01:00
Bjørn Erik Pedersen
aa3e183056
tpl: Fix RSS template for the terms listing
...
Fixes #6909
2020-02-18 16:55:30 +01:00
Bjørn Erik Pedersen
1b7acfe763
Fix taxonomy
...
Recently introduced in master.
See https://github.com/gohugoio/hugo/issues/6897#issuecomment-587499907
2020-02-18 16:43:36 +01:00
Bjørn Erik Pedersen
19e12caf8c
Fix RenderString for pages without content
...
Fixes #6882
2020-02-18 14:08:59 +01:00
Bjørn Erik Pedersen
20f2211fce
modules: Do not try to get local themes in "hugo mod get"
...
Fixes #6893
2020-02-18 14:08:58 +01:00
satotake
a21a9373e0
deps: Update goldmark-highlighting
...
See #6901
2020-02-18 14:08:46 +01:00
Bjørn Erik Pedersen
775c7c2474
commands: Support "hugo mod get -u ./..."
...
Fixes #6828
2020-02-18 12:17:16 +01:00
Bjørn Erik Pedersen
eada236f87
Introduce a tree map for all content
...
This commit introduces a new data structure to store pages and their resources.
This data structure is backed by radix trees.
This simplies tree operations, makes all pages a bundle, and paves the way for #6310 .
It also solves a set of annoying issues (see list below).
Not a motivation behind this, but this commit also makes Hugo in general a little bit faster and more memory effective (see benchmarks). Especially for partial rebuilds on content edits, but also when taxonomies is in use.
```
name old time/op new time/op delta
SiteNew/Bundle_with_image/Edit-16 1.32ms ± 8% 1.00ms ± 9% -24.42% (p=0.029 n=4+4)
SiteNew/Bundle_with_JSON_file/Edit-16 1.28ms ± 0% 0.94ms ± 0% -26.26% (p=0.029 n=4+4)
SiteNew/Tags_and_categories/Edit-16 33.9ms ± 2% 21.8ms ± 1% -35.67% (p=0.029 n=4+4)
SiteNew/Canonify_URLs/Edit-16 40.6ms ± 1% 37.7ms ± 3% -7.20% (p=0.029 n=4+4)
SiteNew/Deep_content_tree/Edit-16 56.7ms ± 0% 51.7ms ± 1% -8.82% (p=0.029 n=4+4)
SiteNew/Many_HTML_templates/Edit-16 19.9ms ± 2% 18.3ms ± 3% -7.64% (p=0.029 n=4+4)
SiteNew/Page_collections/Edit-16 37.9ms ± 4% 34.0ms ± 2% -10.28% (p=0.029 n=4+4)
SiteNew/Bundle_with_image-16 10.7ms ± 0% 10.6ms ± 0% -1.15% (p=0.029 n=4+4)
SiteNew/Bundle_with_JSON_file-16 10.8ms ± 0% 10.7ms ± 0% -1.05% (p=0.029 n=4+4)
SiteNew/Tags_and_categories-16 43.2ms ± 1% 39.6ms ± 1% -8.35% (p=0.029 n=4+4)
SiteNew/Canonify_URLs-16 47.6ms ± 1% 47.3ms ± 0% ~ (p=0.057 n=4+4)
SiteNew/Deep_content_tree-16 73.0ms ± 1% 74.2ms ± 1% ~ (p=0.114 n=4+4)
SiteNew/Many_HTML_templates-16 37.9ms ± 0% 38.1ms ± 1% ~ (p=0.114 n=4+4)
SiteNew/Page_collections-16 53.6ms ± 1% 54.7ms ± 1% +2.09% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
SiteNew/Bundle_with_image/Edit-16 486kB ± 0% 430kB ± 0% -11.47% (p=0.029 n=4+4)
SiteNew/Bundle_with_JSON_file/Edit-16 265kB ± 0% 209kB ± 0% -21.06% (p=0.029 n=4+4)
SiteNew/Tags_and_categories/Edit-16 13.6MB ± 0% 8.8MB ± 0% -34.93% (p=0.029 n=4+4)
SiteNew/Canonify_URLs/Edit-16 66.5MB ± 0% 63.9MB ± 0% -3.95% (p=0.029 n=4+4)
SiteNew/Deep_content_tree/Edit-16 28.8MB ± 0% 25.8MB ± 0% -10.55% (p=0.029 n=4+4)
SiteNew/Many_HTML_templates/Edit-16 6.16MB ± 0% 5.56MB ± 0% -9.86% (p=0.029 n=4+4)
SiteNew/Page_collections/Edit-16 16.9MB ± 0% 16.0MB ± 0% -5.19% (p=0.029 n=4+4)
SiteNew/Bundle_with_image-16 2.28MB ± 0% 2.29MB ± 0% +0.35% (p=0.029 n=4+4)
SiteNew/Bundle_with_JSON_file-16 2.07MB ± 0% 2.07MB ± 0% ~ (p=0.114 n=4+4)
SiteNew/Tags_and_categories-16 14.3MB ± 0% 13.2MB ± 0% -7.30% (p=0.029 n=4+4)
SiteNew/Canonify_URLs-16 69.1MB ± 0% 69.0MB ± 0% ~ (p=0.343 n=4+4)
SiteNew/Deep_content_tree-16 31.3MB ± 0% 31.8MB ± 0% +1.49% (p=0.029 n=4+4)
SiteNew/Many_HTML_templates-16 10.8MB ± 0% 10.9MB ± 0% +1.11% (p=0.029 n=4+4)
SiteNew/Page_collections-16 21.4MB ± 0% 21.6MB ± 0% +1.15% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
SiteNew/Bundle_with_image/Edit-16 4.74k ± 0% 3.86k ± 0% -18.57% (p=0.029 n=4+4)
SiteNew/Bundle_with_JSON_file/Edit-16 4.73k ± 0% 3.85k ± 0% -18.58% (p=0.029 n=4+4)
SiteNew/Tags_and_categories/Edit-16 301k ± 0% 198k ± 0% -34.14% (p=0.029 n=4+4)
SiteNew/Canonify_URLs/Edit-16 389k ± 0% 373k ± 0% -4.07% (p=0.029 n=4+4)
SiteNew/Deep_content_tree/Edit-16 338k ± 0% 262k ± 0% -22.63% (p=0.029 n=4+4)
SiteNew/Many_HTML_templates/Edit-16 102k ± 0% 88k ± 0% -13.81% (p=0.029 n=4+4)
SiteNew/Page_collections/Edit-16 176k ± 0% 152k ± 0% -13.32% (p=0.029 n=4+4)
SiteNew/Bundle_with_image-16 26.8k ± 0% 26.8k ± 0% +0.05% (p=0.029 n=4+4)
SiteNew/Bundle_with_JSON_file-16 26.8k ± 0% 26.8k ± 0% +0.05% (p=0.029 n=4+4)
SiteNew/Tags_and_categories-16 273k ± 0% 245k ± 0% -10.36% (p=0.029 n=4+4)
SiteNew/Canonify_URLs-16 396k ± 0% 398k ± 0% +0.39% (p=0.029 n=4+4)
SiteNew/Deep_content_tree-16 317k ± 0% 325k ± 0% +2.53% (p=0.029 n=4+4)
SiteNew/Many_HTML_templates-16 146k ± 0% 147k ± 0% +0.98% (p=0.029 n=4+4)
SiteNew/Page_collections-16 210k ± 0% 215k ± 0% +2.44% (p=0.029 n=4+4)
```
Fixes #6312
Fixes #6087
Fixes #6738
Fixes #6412
Fixes #6743
Fixes #6875
Fixes #6034
Fixes #6902
Fixes #6173
Fixes #6590
2020-02-18 09:49:42 +01:00
Bjørn Erik Pedersen
e5329f13c0
Another benchmark rename
2020-02-18 09:48:36 +01:00
Bjørn Erik Pedersen
5b145ddc4c
Rename the Edit benchmarks
...
To make them easier to filter out.
2020-02-18 09:45:21 +01:00
satotake
3c568ad013
markup/highlight: Fix chroma highlight
...
* Use chroma.Coalesce
* Escape code strings if lexer is nil
Fixes #6877
Fixes #6856
2020-02-17 14:59:26 +01:00
Bjørn Erik Pedersen
54bdcaacae
Refactor a benchmark to make it runnable as test
2020-02-17 09:24:15 +01:00
Bjørn Erik Pedersen
1622510a5c
Add benchmark for content edits
2020-02-17 09:05:37 +01:00
Bjørn Erik Pedersen
56d0b65887
Add "go mod verify" to build scripts
2020-02-16 00:15:58 +01:00
Jaymo Kang
75c3787fc2
Add git to Dockerfile
...
Needed for GitInfo.
2020-02-14 16:49:20 +01:00
Bjørn Erik Pedersen
9babb1f0c4
deps: Update go.sum
2020-02-14 10:18:56 +01:00
Mark Rosemaker
8a5124d6b3
commands: Rename doWithCommandeer to cfgInit/cfgSetAndInit
...
This will make it clearer what it does and make the code more consistent.
2020-02-13 00:37:49 +01:00
Bjørn Erik Pedersen
898a0a96af
deps: Update golibsass
...
Fixes #6885
2020-02-12 18:56:47 +01:00
Bjørn Erik Pedersen
3b721110d5
Shuffle test files before insertion
2020-02-10 12:03:41 +01:00
Bjørn Erik Pedersen
40ba7e6d63
Update to LibSass v3.6.3
...
Fixes #6862
2020-02-10 10:42:05 +01:00
hugoreleaser
4f43c9022a
releaser: Prepare repository for 0.65.0-DEV
...
[ci skip]
2020-02-09 20:53:18 +00:00
hugoreleaser
c327e75d05
releaser: Add release notes to /docs for release of 0.64.1
...
[ci skip]
2020-02-09 20:44:34 +00:00
hugoreleaser
8bd8d4fe9a
releaser: Bump versions for release of 0.64.1
...
[ci skip]
2020-02-09 20:44:34 +00:00
hugoreleaser
ad7c38cd66
releaser: Add release notes for 0.64.1
...
[ci skip]
2020-02-09 20:44:34 +00:00
Bjørn Erik Pedersen
b78576fd38
hugofs: Fix mount with hole regression
...
Fixes #6854
2020-02-09 21:35:39 +01:00
Bjørn Erik Pedersen
18888e09bb
Fix bundle resource ordering regression
...
Introduced in Hugo 0.64.0
Fixes #6851
2020-02-09 21:35:39 +01:00
Bjørn Erik Pedersen
1e5eb8679e
Merge commit '3c0036805d64fdd8290f1c4a31371780ff3ea365'
2020-02-06 13:03:30 +01:00
Bjørn Erik Pedersen
3c0036805d
Squashed 'docs/' changes from bd0e15bb6..16753a78d
...
16753a78d remove kaiju from comments.md
25906f6ad Hugo 0.64.0
aacc7a130 releaser: Add release notes to /docs for release of 0.64.0
2243afe90 Explain Ace/Amber support has been removed
293c9496a Document the hugo function
479890f9b Update comments.md
ceab41097 Update theme
9a95876c7 Remove note
696543e13 Update usage.md
a04bab2b9 Release 0.63.2
ccaed74b5 Merge branch 'temp632'
623b363c5 releaser: Add release notes to /docs for release of 0.63.2
39ce6f50e releaser: Add release notes to /docs for release of 0.63.2
9175ac2ca Another theme fix
88c264251 Rebuild _vendor
e739dc3a8 Release 0.63.1
129ecac84 Merge branch 'temp631'
bcd7c1154 releaser: Add release notes to /docs for release of 0.63.1
e4f0d9285 releaser: Add release notes to /docs for release of 0.63.1
6a40124d6 Update theme
c486747de Params cleanup
c408c4334 netlify: Bump to 0.63.0
7e8a48be8 Adjust base template docs
a5920e9aa Adjust release notes
d4d25c524 Merge branch 'temp63'
16d981721 releaser: Add release notes to /docs for release of 0.63.0
08ab681d1 releaser: Add release notes to /docs for release of 0.63.0
90feaac39 docs, output: Add base template lookup variant to docs.json
afe2b4399 docs, output: Add base template lookup variant to docs.json
1f7466a76 docs: Regen docs helper
7ceefb94a docs: Regen docs helper
ee14087cd Remove typo from RenderString.md
6daf333d3 Remove the calibreapp action
682f710d7 docs: Updating 'submodule add' command in "Host on GitHub" to use https instead of ssh.
ef57b2dae Improve documentation on slug behavior
835ddd9c2 Fix broken link
137a32f90 Fixed typo in content-management/page-resources
936633e25 Fixed spelling error, "wich" -> "which"
a559d41e3 Using a Different Version of Hugo in AWS Amplify
2ee83402d Update rss.md
f900a2ce0 Add render-image code example and edit wording
bd0a0207c Change wording on Page Resources documentation
d213b4599 linuxbrew was renamed to homebrew (#1004 )
dcb0925f8 Update index.md
789416a08 Release 0.62.2
2dc66f13c releaser: Add release notes to /docs for release of 0.62.2
813fbc865 releaser: Add release notes to /docs for release of 0.62.2
ed5b07df3 docs: Document the new autoHeadingIDType setting
02d4747e5 docs: Document the new autoHeadingIDType setting
406a8a9a6 docs: Regenerate docshelper
065319786 docs: Regenerate docshelper
61d540021 Merge commit '26f1458a2df6b55eee3a5de46f5fec23a43a7c7d'
7cac5909b releaser: Add release notes to /docs for release of 0.62.1
6e30e01a2 releaser: Add release notes to /docs for release of 0.62.0
2694dcdd8 Merge commit '8a4005cf2b0ef34265ff8051a6b76226685fc226'
115dd6782 docs: More on hooks
f4460fd54 tpl: Do not return any value in errorf
3587d2998 tpl: Add a warnf template func
7c9b02e30 docs: Regen docshelper
a7bfdeb24 Fix incorrect MIME type from image/jpg to image/jpeg
1a6089cfe Preserve HTML Text for link render hooks
4544a998c docs: Footnote
c42733258 Add render template hooks for links and images
0d8bec78a Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a'
3974c326c markup/tableofcontents: Add config option for ordered list
8c2bd1a62 releaser: Add release notes to /docs for release of 0.61.0
f00b2d507 releaser: Add release notes to /docs for release of 0.60.1
9a5109838 releaser: Add release notes to /docs for release of 0.60.0
d2c222f71 Add Goldmark as the new default markdown handler
df96f9efa Update homepage.md
f17e67b4b tpl/collections: Allow dict to create nested structures
5f923768a Merge commit 'efc0b1bb6c6564f54d596467dbc6a18cb206954e'
8a861bf16 Support Go time format strings in permalinks
bbb8c4fea releaser: Add release notes to /docs for release of 0.59.1
9d9070dda releaser: Add release notes to /docs for release of 0.59.0
98716176b Merge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e'
2057ba4c5 Merge commit '5070ba6c9e6c492deade3c30cfe769b9dbf7151d'
c98bcff07 Merge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs'
git-subtree-dir: docs
git-subtree-split: 16753a78d8
2020-02-06 13:02:49 +01:00
Cameron Moore
7f0ebd4a3c
CONTRIBUTING: Fix note about CGO
2020-02-06 09:09:08 +01:00
Bjørn Erik Pedersen
23ea43180b
Update Go version requirement
...
We run tests on current + (current -1) (we also test on the latest Go source), which means that the current supported Go versions are Go 1.12 and 1.13.
Closes #6853
2020-02-04 23:48:31 +01:00
hugoreleaser
6a74cbe916
releaser: Prepare repository for 0.65.0-DEV
...
[ci skip]
2020-02-04 09:16:38 +00:00
hugoreleaser
241db8f78a
releaser: Add release notes to /docs for release of 0.64.0
...
[ci skip]
2020-02-04 09:07:21 +00:00
hugoreleaser
7624ab0281
releaser: Bump versions for release of 0.64.0
...
[ci skip]
2020-02-04 09:07:21 +00:00
Bjørn Erik Pedersen
8490a0aa9d
Update 0.64.0-relnotes.md
2020-02-04 09:59:09 +01:00
hugoreleaser
bd731d27be
releaser: Add release notes for 0.64.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-02-04 08:45:30 +00:00
Bjørn Erik Pedersen
80dd6ddde2
Fix module mount in sub folder
...
This addresses a specific issue, but is a also a major simplification of the filesystem file mounts.
Fixes #6730
2020-02-04 00:17:10 +01:00
Bjørn Erik Pedersen
2997310124
Mention a "no CGO rule"
...
See #6842
2020-02-01 10:27:26 +01:00
Bjørn Erik Pedersen
2bbc865f7b
commands: Fix config environment handling
...
Fixes #6503
Fixes #6824
2020-01-31 16:36:36 +01:00
Bjørn Erik Pedersen
0792cfa9fa
Update to Go 1.13.7 and Go 1.12.16
...
Fixes #6830
2020-01-31 14:18:48 +01:00
Bjørn Erik Pedersen
b3f0674b80
transform/livereloadinject: Add defer to livereload script tag
...
In #6821 we moved the loading from end of body to head to make Turbolinks and similar work.
This commit adds a defer attribute to avoid page parse blocking.
2020-01-31 08:15:22 +01:00
Bjørn Erik Pedersen
ef78a0d18a
transform/livereloadinject: Don't use document.write to inject livereload
...
I suspect the person who originally implemented it saw examples using location.host etc. to build the URL.
We have all that information ready at build (static) time.
Fixes #6507
2020-01-31 08:02:53 +01:00
Bjørn Erik Pedersen
5859586453
hubolig: Add a render hook whitespace test
...
See #6832
2020-01-31 07:51:05 +01:00
Bjørn Erik Pedersen
2d159e9cc7
Do not render alias paginator pages for non-HTML outputs
...
Update #6797
2020-01-30 23:45:19 +01:00
Bjørn Erik Pedersen
f45cb31728
Fix base template handling with preceding comments
...
Fixes #6816
2020-01-30 23:44:42 +01:00
Bjørn Erik Pedersen
49ef647203
modules: Fix "hugo mod get -u" with no arguments
...
Fixes #6826
Closes #6825
2020-01-30 17:15:35 +01:00
Bjørn Erik Pedersen
8f08cdd0ac
transform/livereloadinject: Inject livereload script right after head if possible
...
We used to insert the livereload script right before the closing body.
This dord not work when combined with tools such as Turbolinks.
This commit changes it So we try to inject the script as early as possible.
Fixes #6821
2020-01-29 21:12:07 +01:00
Bhavin Gandhi
281abb18ee
deps: Update goldmark to v1.1.22
...
v1.1.22 has a fix for issue where links with newline in the title
don't get parsed correctly. Reference:
https://github.com/yuin/goldmark/issues/94
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com >
2020-01-29 19:48:33 +01:00
hugoreleaser
d8e685154d
releaser: Prepare repository for 0.64.0-DEV
...
[ci skip]
2020-01-27 12:22:47 +00:00
hugoreleaser
934ee21fac
releaser: Add release notes to /docs for release of 0.63.2
...
[ci skip]
2020-01-27 12:13:04 +00:00
hugoreleaser
c7427a50ed
releaser: Bump versions for release of 0.63.2
...
[ci skip]
2020-01-27 12:13:04 +00:00
hugoreleaser
49e2931eb2
releaser: Add release notes for 0.63.2
...
[ci skip]
2020-01-27 12:13:04 +00:00
Bjørn Erik Pedersen
e8831a056b
hubolib: Revert to .Type = "page" when empty
...
This was changed with good intentions in 0.63.0.
This behaviour was not documented, but it was of course in use.
This commit rolls back to how it behaved before:
For `Page.Type` you will get:
* `type` from front matter if set.
* `.Section`
* If none of the above returns anything, return "page"
Fixes #6805
2020-01-27 12:33:33 +01:00
Bjørn Erik Pedersen
74b6c4e5ff
And now finally fix the 404 templates
...
Fixes #6795
2020-01-27 12:30:31 +01:00
Bjørn Erik Pedersen
8df5d76e70
Fix 404 with base template regression
...
Fixes #6795
2020-01-26 13:14:08 +01:00
hugoreleaser
8ae2c9c3d6
releaser: Prepare repository for 0.64.0-DEV
...
[ci skip]
2020-01-23 20:17:44 +00:00