brevno-suite/hugo
4 years agotpl: Fix grammar in the new 'requires non-zero' error message
Evgeny Kuznetsov [Mon, 14 Sep 2020 17:34:32 +0000 (20:34 +0300)]
tpl: Fix grammar in the new 'requires non-zero' error message

4 years agoreleaser: Prepare repository for 0.76.0-DEV
hugoreleaser [Mon, 14 Sep 2020 09:31:44 +0000 (09:31 +0000)]
releaser: Prepare repository for 0.76.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.75.0 v0.75.0
hugoreleaser [Mon, 14 Sep 2020 09:19:06 +0000 (09:19 +0000)]
releaser: Add release notes to /docs for release of 0.75.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.75.0
hugoreleaser [Mon, 14 Sep 2020 09:19:06 +0000 (09:19 +0000)]
releaser: Bump versions for release of 0.75.0

[ci skip]

4 years agoRelease 0.75.0
Bjørn Erik Pedersen [Mon, 14 Sep 2020 09:08:48 +0000 (11:08 +0200)]
Release 0.75.0

4 years agoreleaser: Add release notes for 0.75.0
hugoreleaser [Mon, 14 Sep 2020 08:51:14 +0000 (08:51 +0000)]
releaser: Add release notes for 0.75.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoSet PWD in environment when running the Node apps
Bjørn Erik Pedersen [Mon, 14 Sep 2020 08:22:24 +0000 (10:22 +0200)]
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.

4 years agotypo: already -> already
Daniel Holbach [Mon, 14 Sep 2020 05:39:19 +0000 (07:39 +0200)]
typo: already -> already

4 years agoMerge commit '534ae9c57a902aea9ed6e62390dec11fa74b7122'
Bjørn Erik Pedersen [Sun, 13 Sep 2020 19:58:53 +0000 (21:58 +0200)]
Merge commit '534ae9c57a902aea9ed6e62390dec11fa74b7122'

4 years agoSquashed 'docs/' changes from d3eb97a33..4895c29c5
Bjørn Erik Pedersen [Sun, 13 Sep 2020 19:58:53 +0000 (21:58 +0200)]
Squashed 'docs/' changes from d3eb97a33..4895c29c5

4895c29c5 Document strings.Count function

git-subtree-dir: docs
git-subtree-split: 4895c29c5b1e090eea69dc6223b2e20e3b934a6f

4 years agodocs: Regen docs helper
Bjørn Erik Pedersen [Sun, 13 Sep 2020 19:58:38 +0000 (21:58 +0200)]
docs: Regen docs helper

4 years agodocs: Regenerate CLI docs
Bjørn Erik Pedersen [Sun, 13 Sep 2020 19:58:10 +0000 (21:58 +0200)]
docs: Regenerate CLI docs

4 years agoreleaser: Drop 32-bit for MacOS
Bjørn Erik Pedersen [Sun, 13 Sep 2020 19:07:08 +0000 (21:07 +0200)]
releaser: Drop 32-bit for MacOS

Fixes #7576

4 years agoAdd "hugo mod npm pack"
Bjørn Erik Pedersen [Wed, 9 Sep 2020 20:31:43 +0000 (22:31 +0200)]
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

4 years agoPrint layout name if it was specified when showing missing layout file error
Andreas Richter [Sun, 13 Sep 2020 18:36:37 +0000 (14:36 -0400)]
Print layout name if it was specified when showing missing layout file error

Fixes #7617

4 years agobuild(deps): bump github.com/aws/aws-sdk-go from 1.34.21 to 1.34.22
dependabot[bot] [Fri, 11 Sep 2020 20:10:10 +0000 (20:10 +0000)]
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>
4 years agomarkup/highlight: Add support to linkable line anchors on Chroma
Fernando Jorge Mota [Sun, 13 Sep 2020 09:00:16 +0000 (06:00 -0300)]
markup/highlight: Add support to linkable line anchors on Chroma

Fixes #7622

4 years agosnap: Bump bundled Node.js from v8.12.0 to v12.18.3
Anthony Fok [Sat, 12 Sep 2020 06:01:16 +0000 (00:01 -0600)]
snap: Bump bundled Node.js from v8.12.0 to v12.18.3

Fixes #7278

4 years agoRevert "snap: Change confinement from strict to classic"
Anthony Fok [Sat, 12 Sep 2020 05:56:29 +0000 (23:56 -0600)]
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 6f4ff1a4617ec42861d255db718286ceaf4f6c8e.

4 years agobuild(deps): bump github.com/getkin/kin-openapi from 0.14.0 to 0.22.0
dependabot[bot] [Fri, 11 Sep 2020 06:01:10 +0000 (06:01 +0000)]
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>
4 years agobuild(deps): bump github.com/aws/aws-sdk-go from 1.34.20 to 1.34.21
dependabot[bot] [Fri, 11 Sep 2020 05:58:00 +0000 (05:58 +0000)]
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>
4 years agobuild(deps): bump github.com/spf13/viper from 1.6.1 to 1.7.1
dependabot[bot] [Fri, 11 Sep 2020 05:59:07 +0000 (05:59 +0000)]
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>
4 years agodeps: Run "go mod tidy"
Bjørn Erik Pedersen [Fri, 11 Sep 2020 05:50:07 +0000 (07:50 +0200)]
deps: Run "go mod tidy"

4 years agodeps: Update to Goldmark v1.2.1
Bjørn Erik Pedersen [Fri, 11 Sep 2020 05:49:35 +0000 (07:49 +0200)]
deps: Update to Goldmark v1.2.1

4 years agomarkup/asciidocext: Fix AsciiDoc TOC with code
Helder Pereira [Wed, 9 Sep 2020 21:41:53 +0000 (22:41 +0100)]
markup/asciidocext: Fix AsciiDoc TOC with code

Fixes #7649

4 years agobuild(deps): bump github.com/aws/aws-sdk-go from 1.27.1 to 1.34.20
dependabot[bot] [Thu, 10 Sep 2020 05:57:15 +0000 (05:57 +0000)]
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>
4 years agobuild(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.3.3
dependabot[bot] [Thu, 10 Sep 2020 05:56:14 +0000 (05:56 +0000)]
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>
4 years agosnap: Change confinement from strict to classic
Anthony Fok [Thu, 10 Sep 2020 15:40:28 +0000 (09:40 -0600)]
snap: Change confinement from strict to classic

See gohugoio/hugoDocs#1222

4 years agobuild(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.7
dependabot[bot] [Thu, 10 Sep 2020 05:56:07 +0000 (05:56 +0000)]
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>
4 years agobuild(deps): bump github.com/sanity-io/litter from 1.2.0 to 1.3.0
dependabot[bot] [Thu, 10 Sep 2020 05:55:53 +0000 (05:55 +0000)]
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>
4 years agomodules: Add noVendor to module config
Bjørn Erik Pedersen [Wed, 9 Sep 2020 19:10:28 +0000 (21:10 +0200)]
modules: Add noVendor to module config

Fixes #7647

4 years agomodules: Add ignoreImports to module imports config
Bjørn Erik Pedersen [Wed, 9 Sep 2020 17:08:03 +0000 (19:08 +0200)]
modules: Add ignoreImports to module imports config

Fixes #7646

4 years agomodules: Make ignoreVendor a glob pattern
Bjørn Erik Pedersen [Wed, 9 Sep 2020 14:51:13 +0000 (16:51 +0200)]
modules: Make ignoreVendor a glob pattern

Fixes #7642

4 years agobuild(deps): bump github.com/gorilla/websocket from 1.4.1 to 1.4.2
dependabot[bot] [Wed, 9 Sep 2020 20:13:04 +0000 (20:13 +0000)]
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>
4 years agobuild(deps): bump github.com/fsnotify/fsnotify from 1.4.7 to 1.4.9
dependabot[bot] [Wed, 9 Sep 2020 20:12:57 +0000 (20:12 +0000)]
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>
4 years agobuild(deps): bump github.com/kyokomi/emoji
dependabot[bot] [Wed, 9 Sep 2020 20:22:36 +0000 (20:22 +0000)]
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>
4 years agobuild(deps): bump github.com/markbates/inflect from 1.0.0 to 1.0.4
dependabot[bot] [Wed, 9 Sep 2020 05:54:08 +0000 (05:54 +0000)]
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>
4 years agobuild(deps): bump github.com/frankban/quicktest from 1.7.2 to 1.10.2
dependabot[bot] [Wed, 9 Sep 2020 05:54:15 +0000 (05:54 +0000)]
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>
4 years agoEncode & in livereload injected code
Ralph Slooten [Wed, 9 Sep 2020 08:25:31 +0000 (20:25 +1200)]
Encode & in livereload injected code

4 years agobuild(deps): bump github.com/niklasfasching/go-org from 1.3.1 to 1.3.2
dependabot[bot] [Tue, 8 Sep 2020 17:51:04 +0000 (17:51 +0000)]
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>
4 years agobuild(deps): bump github.com/bep/golibsass from 0.6.0 to 0.7.0
dependabot[bot] [Tue, 8 Sep 2020 08:31:04 +0000 (08:31 +0000)]
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>
4 years agobuild(deps): bump golang.org/x/text from 0.3.2 to 0.3.3
dependabot[bot] [Tue, 8 Sep 2020 08:30:58 +0000 (08:30 +0000)]
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>
4 years agobuild(deps): bump github.com/evanw/esbuild from 0.6.5 to 0.6.32
dependabot[bot] [Tue, 8 Sep 2020 08:30:38 +0000 (08:30 +0000)]
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>
4 years agobuild(deps): bump github.com/nicksnyder/go-i18n from 1.10.0 to 1.10.1
dependabot[bot] [Tue, 8 Sep 2020 08:31:34 +0000 (08:31 +0000)]
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>
4 years agoRevert "Update dependabot.yml"
Bjørn Erik Pedersen [Tue, 8 Sep 2020 08:28:16 +0000 (10:28 +0200)]
Revert "Update dependabot.yml"

This reverts commit c0655ba6ce5db54e8fec2c0e2bef9965b9fb90fc.

4 years agomarkup/asciidocext: Fix broken test
Bjørn Erik Pedersen [Tue, 8 Sep 2020 08:00:57 +0000 (10:00 +0200)]
markup/asciidocext: Fix broken test

4 years agodocs: Update replaceRE func
Cameron Moore [Mon, 7 Sep 2020 20:29:55 +0000 (15:29 -0500)]
docs: Update replaceRE func

Updates for #7604

4 years agodocs: Update replace func
Cameron Moore [Mon, 7 Sep 2020 20:29:20 +0000 (15:29 -0500)]
docs: Update replace func

Updates for #7602

4 years agodocs: Update merge function
Cameron Moore [Mon, 7 Sep 2020 20:27:59 +0000 (15:27 -0500)]
docs: Update merge function

Updates for #7601

4 years agoUpdate dependabot.yml
Bjørn Erik Pedersen [Mon, 7 Sep 2020 20:08:03 +0000 (22:08 +0200)]
Update dependabot.yml

4 years agoCreate dependabot.yml
Bjørn Erik Pedersen [Mon, 7 Sep 2020 19:51:49 +0000 (21:51 +0200)]
Create dependabot.yml

4 years agoRemove Pygments from requirements.txt
Bjørn Erik Pedersen [Mon, 7 Sep 2020 19:47:54 +0000 (21:47 +0200)]
Remove Pygments from requirements.txt

4 years agodocs: Regen CLI docs
Bjørn Erik Pedersen [Mon, 7 Sep 2020 19:46:30 +0000 (21:46 +0200)]
docs: Regen CLI docs

4 years agodocs: Regen docs helper
Bjørn Erik Pedersen [Mon, 7 Sep 2020 19:45:16 +0000 (21:45 +0200)]
docs: Regen docs helper

4 years agomarkup/asciidocext: Revert trace=true
Bjørn Erik Pedersen [Mon, 7 Sep 2020 19:44:11 +0000 (21:44 +0200)]
markup/asciidocext: Revert trace=true

4 years agoSquashed 'docs/' changes from 7297c1172..d3eb97a33
Bjørn Erik Pedersen [Mon, 7 Sep 2020 19:37:51 +0000 (21:37 +0200)]
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: d3eb97a3328f5390801bbce017233ce895fc2d28

4 years agoMerge commit '7d7771b673e5949f554515a2c236b23192c765c8'
Bjørn Erik Pedersen [Mon, 7 Sep 2020 19:37:51 +0000 (21:37 +0200)]
Merge commit '7d7771b673e5949f554515a2c236b23192c765c8'

4 years agoUpdate to Go 1.15.1 and 1.14.8
Bjørn Erik Pedersen [Mon, 7 Sep 2020 18:28:03 +0000 (20:28 +0200)]
Update to Go 1.15.1 and 1.14.8

Fixes #7627

4 years agoFix some change detection issues on server reloads
Bjørn Erik Pedersen [Mon, 7 Sep 2020 13:07:10 +0000 (15:07 +0200)]
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

4 years agomarkup/asciidoc: Add support for .TableOfContents
Nicolas Piganeau [Mon, 24 Aug 2020 17:23:16 +0000 (19:23 +0200)]
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

4 years agomarkup/goldmark: Add a test case
Bjørn Erik Pedersen [Fri, 4 Sep 2020 08:23:02 +0000 (10:23 +0200)]
markup/goldmark: Add a test case

Updates #7619

4 years agojs.Build: Add SourceMap flag with inline option
Andreas Richter [Tue, 1 Sep 2020 14:19:08 +0000 (10:19 -0400)]
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

4 years agotpl: Add limit support to replaceRE
Cameron Moore [Fri, 28 Aug 2020 14:29:26 +0000 (09:29 -0500)]
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

4 years agotpl: Extend merge to accept multiple parameters
Cameron Moore [Fri, 28 Aug 2020 02:34:45 +0000 (21:34 -0500)]
tpl: Extend merge to accept multiple parameters

Fixes #7595

4 years agotpl: Add limit option to replace template function
Cameron Moore [Fri, 28 Aug 2020 02:59:20 +0000 (21:59 -0500)]
tpl: Add limit option to replace template function

Updates #7586

4 years agocommands: Remove logic that hides 'Building Sites' message after build completes
Jeff Warner [Sat, 22 Aug 2020 07:56:43 +0000 (00:56 -0700)]
commands: Remove logic that hides 'Building Sites' message after build completes

Append newline to the message instead.

Fixes #7579

4 years agoFixed misspelled words
Aurken Bilbao [Thu, 20 Aug 2020 12:32:40 +0000 (14:32 +0200)]
Fixed misspelled words

4 years agoImprove stderr logging for PostCSS and simlilar
Bjørn Erik Pedersen [Thu, 20 Aug 2020 16:43:09 +0000 (18:43 +0200)]
Improve stderr logging for PostCSS and simlilar

Fixes #7584

4 years agoFail on partials with return when given none or a zero argument
Bjørn Erik Pedersen [Wed, 19 Aug 2020 07:15:14 +0000 (09:15 +0200)]
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

4 years agoUpdate to Go 1.15
Bjørn Erik Pedersen [Fri, 14 Aug 2020 10:03:22 +0000 (12:03 +0200)]
Update to Go 1.15

Fixes #7554

4 years agoRevert "Update stale.yml"
Bjørn Erik Pedersen [Sun, 16 Aug 2020 16:25:14 +0000 (18:25 +0200)]
Revert "Update stale.yml"

This reverts commit 4f69ade7118302abff97169d17bfa9baac6a711c.

4 years agoUpdate stale.yml
Bjørn Erik Pedersen [Fri, 14 Aug 2020 22:21:08 +0000 (00:21 +0200)]
Update stale.yml

4 years agoMerge commit 'cb39847dee488c373dd5bc2a3706385342a59355'
Bjørn Erik Pedersen [Fri, 14 Aug 2020 16:31:40 +0000 (18:31 +0200)]
Merge commit 'cb39847dee488c373dd5bc2a3706385342a59355'

4 years agoSquashed 'docs/' changes from a26d0e610..7297c1172
Bjørn Erik Pedersen [Fri, 14 Aug 2020 16:31:01 +0000 (18:31 +0200)]
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: 7297c1172754078511ac1c10ca0dfd4cab629506

4 years agoRemove trailing whitespace and tabs from RSS templates
Kyle Anderson [Wed, 12 Aug 2020 05:34:04 +0000 (22:34 -0700)]
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.

4 years agoFix a typo in CONTRIBUTING.md
Fabian Tamp [Sun, 7 Jun 2020 19:00:44 +0000 (21:00 +0200)]
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.

4 years agoRevert "Fix ellipsis display logic in pagination template"
Joe Mooring [Wed, 5 Aug 2020 16:36:48 +0000 (12:36 -0400)]
Revert "Fix ellipsis display logic in pagination template"

This reverts commit 2fa851e6500752c0cea1da5cfdfc6d99e0a81a71.

4 years agoRespect mediatypes for deploy
satotake [Mon, 3 Aug 2020 17:06:18 +0000 (02:06 +0900)]
Respect mediatypes for deploy

Fixes #6861

4 years agoFix ellipsis display logic in pagination template
Joe Mooring [Fri, 31 Jul 2020 11:35:22 +0000 (07:35 -0400)]
Fix ellipsis display logic in pagination template

Closes #7523

4 years agomage: Add uninstall target
Ricardo N Feliciano [Fri, 24 Jul 2020 16:52:31 +0000 (12:52 -0400)]
mage: Add uninstall target

4 years agodeps: Update Chroma to 0.8.0
Joe Mooring [Mon, 27 Jul 2020 15:59:22 +0000 (11:59 -0400)]
deps: Update Chroma to 0.8.0

Closes #7517

4 years agodeps: Update go-org to v1.3.1
Niklas Fasching [Fri, 24 Jul 2020 16:46:37 +0000 (18:46 +0200)]
deps: Update go-org to v1.3.1

fixes a bug in list item parsing

4 years agoreleaser: Prepare repository for 0.75.0-DEV
hugoreleaser [Thu, 23 Jul 2020 16:33:19 +0000 (16:33 +0000)]
releaser: Prepare repository for 0.75.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.74.3 v0.74.3
hugoreleaser [Thu, 23 Jul 2020 16:21:21 +0000 (16:21 +0000)]
releaser: Add release notes to /docs for release of 0.74.3

[ci skip]

4 years agoreleaser: Bump versions for release of 0.74.3
hugoreleaser [Thu, 23 Jul 2020 16:21:21 +0000 (16:21 +0000)]
releaser: Bump versions for release of 0.74.3

[ci skip]

4 years agoreleaser: Add release notes for 0.74.3
hugoreleaser [Thu, 23 Jul 2020 16:21:21 +0000 (16:21 +0000)]
releaser: Add release notes for 0.74.3
[ci skip]

4 years agopublisher: Collect transition attributes as classes
Bjørn Erik Pedersen [Thu, 23 Jul 2020 12:18:13 +0000 (14:18 +0200)]
publisher: Collect transition attributes as classes

Fixes #7509

4 years agoFix Asciidoctor args
Helder Pereira [Thu, 23 Jul 2020 13:59:48 +0000 (14:59 +0100)]
Fix Asciidoctor args

* Fix Asciidoctor args

* Fix Asciidoctor args documentation

* Update AsciiDoc documentation

Co-authored-by: Derk Muenchhausen <derk@muenchhausen.de>
Fixes #7493

4 years agoFix date format in internal schema template
Joe Mooring [Sun, 19 Jul 2020 13:24:44 +0000 (09:24 -0400)]
Fix date format in internal schema template

Prior to this change, the offset indicator for dates with positive
offsets was rendered as &#43; instead of +.

Fixes #7495

4 years agoresources/js: Add option for setting bundle format
Bjørn Erik Pedersen [Tue, 21 Jul 2020 15:59:03 +0000 (17:59 +0200)]
resources/js: Add option for setting bundle format

Fixes #7503

4 years agoresources/js: Simplify options handling
Bjørn Erik Pedersen [Tue, 21 Jul 2020 15:03:06 +0000 (17:03 +0200)]
resources/js: Simplify options handling

Mostly to minify cache hash breakage.

Updates #7499

4 years agomake sure documentation intro text only appears once
Philipp Klose [Mon, 20 Jul 2020 22:26:54 +0000 (00:26 +0200)]
make sure documentation intro text only appears once

4 years agoresources/js: Add es5 build target
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:26:38 +0000 (22:26 +0200)]
resources/js: Add es5 build target

4 years agoMerge commit '28bd06265e88454b061810578919d891909a83ad'
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:20:33 +0000 (22:20 +0200)]
Merge commit '28bd06265e88454b061810578919d891909a83ad'

4 years agoSquashed 'docs/' changes from c3b4f8410..a26d0e610
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:19:42 +0000 (22:19 +0200)]
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: a26d0e610457c7942fd79e7abdd78021f9401796

4 years agodeps: esbuild v0.6.5
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:19:08 +0000 (22:19 +0200)]
deps: esbuild v0.6.5

4 years agoreleaser: Prepare repository for 0.75.0-DEV
hugoreleaser [Fri, 17 Jul 2020 17:35:17 +0000 (17:35 +0000)]
releaser: Prepare repository for 0.75.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.74.2 v0.74.2
hugoreleaser [Fri, 17 Jul 2020 17:22:42 +0000 (17:22 +0000)]
releaser: Add release notes to /docs for release of 0.74.2

[ci skip]

4 years agoreleaser: Bump versions for release of 0.74.2
hugoreleaser [Fri, 17 Jul 2020 17:22:42 +0000 (17:22 +0000)]
releaser: Bump versions for release of 0.74.2

[ci skip]

4 years agoreleaser: Add release notes for 0.74.2
hugoreleaser [Fri, 17 Jul 2020 17:22:42 +0000 (17:22 +0000)]
releaser: Add release notes for 0.74.2
[ci skip]