dependabot[bot] [Fri, 19 Feb 2021 18:02:40 +0000 (18:02 +0000)]
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.7 to 2.2.8
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/kyokomi/emoji/releases)
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.7...v2.2.8)
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Tue, 23 Feb 2021 08:36:11 +0000 (09:36 +0100)]
tpl: Add method mappings for strings.Contains, strings.ContainsAny
Just to confirm/document the function signature.
gzagatti [Mon, 11 Jan 2021 08:46:31 +0000 (16:46 +0800)]
Fixes #7698.
markup: Allow installed arbitrary Asciidoc extension via path validation.
Bjørn Erik Pedersen [Sat, 20 Feb 2021 13:08:51 +0000 (14:08 +0100)]
commands: Fix autocomplete docs
hugoreleaser [Fri, 19 Feb 2021 17:55:53 +0000 (17:55 +0000)]
releaser: Prepare repository for 0.82.0-DEV
[ci skip]
hugoreleaser [Fri, 19 Feb 2021 17:07:09 +0000 (17:07 +0000)]
releaser: Add release notes to /docs for release of 0.81.0
[ci skip]
hugoreleaser [Fri, 19 Feb 2021 17:07:09 +0000 (17:07 +0000)]
releaser: Bump versions for release of 0.81.0
[ci skip]
Bjørn Erik Pedersen [Fri, 19 Feb 2021 16:57:24 +0000 (17:57 +0100)]
releaser: Increase build timeout
hugoreleaser [Fri, 19 Feb 2021 09:33:44 +0000 (09:33 +0000)]
releaser: Add release notes for 0.81.0
Bjørn Erik Pedersen [Thu, 18 Feb 2021 17:17:43 +0000 (18:17 +0100)]
tpl: Make the build green again
Bjørn Erik Pedersen [Thu, 18 Feb 2021 16:55:38 +0000 (17:55 +0100)]
docs: Regen CLI docs
Bjørn Erik Pedersen [Thu, 18 Feb 2021 16:54:25 +0000 (17:54 +0100)]
docs: Regen docs helper
Bjørn Erik Pedersen [Thu, 18 Feb 2021 16:52:49 +0000 (17:52 +0100)]
Bjørn Erik Pedersen [Thu, 18 Feb 2021 16:52:49 +0000 (17:52 +0100)]
Squashed 'docs/' changes from
ef9c4913c..
d343ebf71
d343ebf71 Document ignoreImports
f912ea1cc Fix the github workflow (#1332)
617894052 Add site function
f3be651f9 Minor typo/markdown fixes (#1328)
7a95e9db5 Fix a formatting error for Github Actions (#1323)
260106669 Fix #1120 Use Github Action
d8847a144 docs: Fix HTML code in .RenderString description being stripped out (#1320)
7a67c38c4 Correct sitemap version (#1318)
6a163f53a Removed noise. (#1317)
b02902121 Fix a minor typo (#1314)
399c74acd Revert "js: Update shims setup"
77def8a8c Revert "Update js.md"
13aeb2c73 Update js.md
704987dc1 js: Update shims setup
git-subtree-dir: docs
git-subtree-split:
d343ebf718393ea704da132de508db712f7bcb44
Bjørn Erik Pedersen [Thu, 18 Feb 2021 16:52:32 +0000 (17:52 +0100)]
tpl: Regenerate internal templates
Daniel Atwood [Thu, 18 Feb 2021 16:51:32 +0000 (11:51 -0500)]
tpl: Update date logic of opengraph and schema internal templates
* Fix: updated date logic in opengraph template
* Updated date logic in schema template
* Reformatted opengraph and schema
* Wrapped PublishDate and Lastmod in with
Bjørn Erik Pedersen [Thu, 18 Feb 2021 13:22:25 +0000 (14:22 +0100)]
Run go mod tidy
Bjørn Erik Pedersen [Wed, 17 Feb 2021 12:52:58 +0000 (13:52 +0100)]
build: Add arm64 to Darwinextended build and add vendorInfo
Closes #8003
Bjørn Erik Pedersen [Wed, 17 Feb 2021 11:13:36 +0000 (12:13 +0100)]
Update Travis, GitHub, CircleCI and Snap to Go 1.16 (only)
Bjørn Erik Pedersen [Fri, 29 Jan 2021 16:45:38 +0000 (17:45 +0100)]
tpl: Add temporary patch to fix template data race
Keep this as a separate commit so we can reapply it if needed.
Fixes #7293
Bjørn Erik Pedersen [Wed, 17 Feb 2021 10:57:23 +0000 (11:57 +0100)]
Pull in latest Go 1.16 template source
Bjørn Erik Pedersen [Fri, 29 Jan 2021 16:20:55 +0000 (17:20 +0100)]
Add breaking tests for "map read and map write in templates"
The fix upstream in Go was reverted, so we apply a temporary patch for this in Hugo.
Updates #7293
Bjørn Erik Pedersen [Fri, 29 Jan 2021 16:15:42 +0000 (17:15 +0100)]
Pull in latest Go template source
Bjørn Erik Pedersen [Thu, 3 Dec 2020 15:42:24 +0000 (16:42 +0100)]
Expand template newline testcase to commands
Bjørn Erik Pedersen [Thu, 3 Dec 2020 12:54:45 +0000 (13:54 +0100)]
Add a test case for Go 1.16 template action newlines
Bjørn Erik Pedersen [Thu, 3 Dec 2020 12:50:17 +0000 (13:50 +0100)]
tpl/internal: Synch Go templates fork with Go 1.16dev
Bjørn Erik Pedersen [Thu, 18 Feb 2021 08:32:34 +0000 (09:32 +0100)]
deps: Update github.com/tdewolff/minify/v2 v2.6.2 => v2.9.13
Fixes #8258
dependabot[bot] [Tue, 16 Feb 2021 20:24:06 +0000 (20:24 +0000)]
build(deps): bump github.com/frankban/quicktest from 1.11.2 to 1.11.3
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/frankban/quicktest/releases)
- [Commits](https://github.com/frankban/quicktest/compare/v1.11.2...v1.11.3)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 16 Feb 2021 17:51:43 +0000 (17:51 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.32.0 to 0.39.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.32.0 to 0.39.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.32.0...v0.39.0)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 16 Feb 2021 15:18:10 +0000 (15:18 +0000)]
build(deps): bump github.com/aws/aws-sdk-go from 1.36.33 to 1.37.11
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.33 to 1.37.11.
- [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.36.33...v1.37.11)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 16 Feb 2021 15:16:43 +0000 (15:16 +0000)]
build(deps): bump github.com/sanity-io/litter from 1.3.0 to 1.5.0
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.3.0 to 1.5.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.3.0...v1.5.0)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 16 Feb 2021 15:16:37 +0000 (15:16 +0000)]
build(deps): bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/olekukonko/tablewriter/releases)
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.4...v0.0.5)
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Tue, 16 Feb 2021 15:12:27 +0000 (16:12 +0100)]
deps: Update to esbuild v0.8.46
Bjørn Erik Pedersen [Sun, 14 Feb 2021 18:24:13 +0000 (19:24 +0100)]
modules: Add config option modules.vendorClosest
Fixes #8235
Fixes #8242
Bjørn Erik Pedersen [Mon, 1 Feb 2021 11:49:08 +0000 (12:49 +0100)]
js: Fix potential path issue on Windows
dependabot[bot] [Sun, 14 Feb 2021 17:37:44 +0000 (17:37 +0000)]
build(deps): bump google.golang.org/api from 0.26.0 to 0.40.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.26.0 to 0.40.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.26.0...v0.40.0)
Signed-off-by: dependabot[bot] <support@github.com>
Anthony Fok [Tue, 16 Feb 2021 15:08:24 +0000 (08:08 -0700)]
Change version string format and add VendorInfo to help with issue triaging
* Change version string format as proposed by @moorereason
1. shorten program name
2. make version string semver compliant with +extended.
The slash is not allowed in semver.
3. Use key=value pairs for BuildDate etc.
* Add optional vendorInfo to version string
to help with issue triaging, e.g. VendorInfo=debian:0.80.0-7
Bjørn Erik Pedersen [Mon, 15 Feb 2021 10:11:34 +0000 (11:11 +0100)]
modules: Allow absolute paths for any modules resolved via project replacement
Fixes #8240
Bjørn Erik Pedersen [Mon, 15 Feb 2021 09:47:32 +0000 (10:47 +0100)]
modules: Throw an error running hugo mod vendor on mountless module
susiwen8 [Sun, 14 Feb 2021 17:30:59 +0000 (01:30 +0800)]
Fix some humanize issues
Fixes #7912
Anthony Fok [Tue, 9 Feb 2021 20:37:36 +0000 (13:37 -0700)]
commands: Add PowerShell completion support
Revert "Refactor: Remove powershell support" with fixes
Thanks to Ben Mezger (@benmezger) for the original code.
See #8122
This reverts commit
a7c515e1b56e8cab34ca2647b4116904df9c8250.
Anthony Fok [Tue, 9 Feb 2021 16:57:18 +0000 (09:57 -0700)]
Refer to mage instead of make in comment regarding commitHash
Bjørn Erik Pedersen [Tue, 9 Feb 2021 08:23:18 +0000 (09:23 +0100)]
markup/goldmark: Fix handling of legacy attribute config
See #7548
Bjørn Erik Pedersen [Sun, 7 Feb 2021 17:08:46 +0000 (18:08 +0100)]
markup/goldmark: Add attributes support for blocks (tables etc.)
E.g.:
```
> foo
> bar
{.myclass}
```
There are some current limitations: For tables you can currently only apply it to the full table, and for lists the ul/ol-nodes only, e.g.:
```
* Fruit
* Apple
* Orange
* Banana
{.fruits}
* Dairy
* Milk
* Cheese
{.dairies}
{.list}
```
Fixes #7548
Bjørn Erik Pedersen [Mon, 8 Feb 2021 09:53:34 +0000 (10:53 +0100)]
deps: Update to Goldmark v1.3.2
Closes #8143
Bjørn Erik Pedersen [Sat, 6 Feb 2021 16:51:08 +0000 (17:51 +0100)]
Update to Dart Sass Protocol beta6
Note that this version is not backwards compatible, so you have to update the protocol binary.
Jeremy Epstein [Sat, 6 Feb 2021 17:30:09 +0000 (04:30 +1100)]
tpl/embedded: Exclude pages without Permalink from sitemap
Bjørn Erik Pedersen [Sat, 6 Feb 2021 17:12:54 +0000 (18:12 +0100)]
langs/i18n: Support translation files with suffix *.yml
Fixes #8212
Ben Mezger [Tue, 2 Feb 2021 23:03:31 +0000 (20:03 -0300)]
Refactor: Write to stdout by default
Ben Mezger [Tue, 2 Feb 2021 23:02:53 +0000 (20:02 -0300)]
Refactor: Remove powershell support
Ben Mezger [Wed, 6 Jan 2021 13:19:11 +0000 (10:19 -0300)]
Feat: Add zsh, fish and powershell completion support
See issue #4296
Bjørn Erik Pedersen [Mon, 1 Feb 2021 09:23:28 +0000 (10:23 +0100)]
github: Enable NPM tests on Windows
Fixes #8196
Bjørn Erik Pedersen [Mon, 1 Feb 2021 09:57:38 +0000 (10:57 +0100)]
deps: Update to esbuild v0.8.39
Fixes #8189
Pavlo Matiash [Mon, 1 Feb 2021 08:32:39 +0000 (10:32 +0200)]
Trim whitespace in elements written to hugo_stats.json
Fixes #7958
Baris Ceviz [Mon, 1 Feb 2021 08:31:02 +0000 (11:31 +0300)]
tpl/data: Add default user-agent header for getJSON requests
dependabot[bot] [Thu, 28 Jan 2021 06:13:45 +0000 (06:13 +0000)]
build(deps): bump github.com/aws/aws-sdk-go from 1.35.0 to 1.36.33
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.0 to 1.36.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.35.0...v1.36.33)
Signed-off-by: dependabot[bot] <support@github.com>
Aleksandr Demakin [Sat, 23 Jan 2021 13:14:51 +0000 (13:14 +0000)]
docs: Remove mention of a file size limit for readFile
The limit itself was removed in this PR: https://github.com/gohugoio/hugo/pull/8172.
Aleksandr Demakin [Fri, 22 Jan 2021 19:05:08 +0000 (19:05 +0000)]
tpl/os: remove 1mb limit for readFile.
Bjørn Erik Pedersen [Fri, 22 Jan 2021 16:07:23 +0000 (17:07 +0100)]
js: Add Inject config option
Fixes #8164
Cameron Moore [Sun, 17 Jan 2021 05:05:58 +0000 (23:05 -0600)]
tpl: Fix race condition in text template baseof
Copy most of the htmltemplate cloning to the textemplate implementation
in the same function.
Bjørn Erik Pedersen [Thu, 21 Jan 2021 15:52:32 +0000 (16:52 +0100)]
js: Add Shims option
This commit adds a new `shims` option to `js.Build` that allows swapping out a component with another.
Fixes #8165
Bjørn Erik Pedersen [Thu, 21 Jan 2021 09:09:33 +0000 (10:09 +0100)]
Fix nilpointer in js.Build error handling
Fixes #8162
Bjørn Erik Pedersen [Wed, 20 Jan 2021 11:48:39 +0000 (12:48 +0100)]
Bjørn Erik Pedersen [Wed, 20 Jan 2021 11:47:49 +0000 (12:47 +0100)]
Squashed 'docs/' changes from
1de7a358c..
ef9c4913c
ef9c4913c Clean up and removal of outdated examples
46122c9aa add godot tutorials to showcase
06d1d1ea2 Update scss-sass.md
1fc63c100 Spelling fix in 0.79.1 release notes
ad2f50e3d Update plainwords description (#1296)
33021d451 Update substr examples (#1304)
6b1cc59bb Release 0.80.0
521db8c6d Merge branch 'tempv0.80.0'
58626c2b3 releaser: Add release notes to /docs for release of 0.80.0
f81d118af dartsass: Dart Sass only supports `expanded` and `compressed`
7da6f54be Add Dart Sass support
b1f2661bb Replace jsconfig.js with jsconfig.json
38de0c1a4 Update index.md
223ceae80 Update index.md
f7ac0e59d Release v0.79.1
2d4583d43 Merge branch 'temp791-2'
1d34e609b releaser: Add release notes to /docs for release of 0.79.1
e26769988 Merge branch 'temp791'
75694d904 Fix Resource.ResourceType so it always returns MIME's main type
0f65d7783 Typo s/adds/add (#1298)
0b896b2c0 images: Add images.Overlay filter
0d4257dcd Clarify documentation on shimming
fcf601ddf Update index.html
6bf9bc1c1 Update index.html
1ce76bf3a Update index.html
e7d976eec Update index.html
db2996e64 Update index.html
245e5bfc9 news: Add post about Apple M1
3ad4115ed tpl: Add title parameter to YouTube shortcode
76ed976f8 Added two useful extensions to the list (#1243)
e5a30dd11 Update related.md
25cf8f48b Improve substr examples
e16e57e9a Update path.Split.md
2749b88fd Update path.Split.md
d76cad3ff Release 0.79.0
f5ccfbe98 releaser: Add release notes to /docs for release of 0.79.0
ebf1b87b0 Merge commit '
9f1265fde4b9ef186148337c99f08601633b6056'
1f1e8f39c Allow setting the delimiter used for setting config via OS env, e.g. HUGO_
e9b1414dd deps: Update to github.com/evanw/esbuild 0.8.11 to 0.8.14
0f76cf66c docs: Regen docshelper
1ada5d47e Add menu params
1c120aef0 Revert "docs: Regenerate docshelper"
7b60b5624 docs: Regenerate docshelper
git-subtree-dir: docs
git-subtree-split:
ef9c4913cdcf95d62ec12d872f412f97e55a55ad
Robert-André Mauchin [Mon, 18 Jan 2021 01:35:33 +0000 (02:35 +0100)]
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
Andreas Richter [Mon, 18 Jan 2021 09:38:09 +0000 (04:38 -0500)]
pipes: Add external source map support to js.Build and Babel
Fixes #8132
Cameron Moore [Fri, 8 Jan 2021 16:26:35 +0000 (10:26 -0600)]
tpl: Fix metrics hint tracking
When tracking for cache hints, track the same template name as the call
to MeasureSince in Execute. When referencing a partial "foo", the value
of `n` does not match `templ.Name()` (`partials/foo` versus
`partials/foo.html`). This was causing hints to go untracked since
there was no existing metric to append the hint to.
Fixes #8125
Cameron Moore [Sun, 3 Jan 2021 18:01:42 +0000 (12:01 -0600)]
tpl: Do not return errors in substr for out-of-bounds cases
Most other substr implementations don't error out in out-of-bounds cases
but simply return an empty string (or a value that's printed as an empty
string). We'll follow their lead and not exit template execution. Allow
the user decide what to do with the empty result.
Fixes #8113
Cameron Moore [Sun, 3 Jan 2021 18:00:17 +0000 (12:00 -0600)]
tpl: Add missing test scenario for strings.Substr
Bjørn Erik Pedersen [Sun, 3 Jan 2021 17:48:35 +0000 (18:48 +0100)]
Run go mod tidy
Niklas Fasching [Sat, 2 Jan 2021 19:52:37 +0000 (20:52 +0100)]
deps: Update go-org to v1.4.0
- Add support for pretty urls [1]. Rewrite file links:
1. replace the `.org` extension with `/` (`/foo.org` -> `/foo/`)
2. prefix unrooted links with `../` as relative links start in the fake
subdirectory `/foo/` rather than `/`
- Fix case-sensitivity of org drawer `:end:`
[1] https://gohugo.io/content-management/urls/#pretty-urls
Bjørn Erik Pedersen [Fri, 1 Jan 2021 10:50:13 +0000 (11:50 +0100)]
rst: Adjust log level
hugoreleaser [Thu, 31 Dec 2020 13:49:02 +0000 (13:49 +0000)]
releaser: Prepare repository for 0.81.0-DEV
[ci skip]
hugoreleaser [Thu, 31 Dec 2020 13:36:35 +0000 (13:36 +0000)]
releaser: Add release notes to /docs for release of 0.80.0
[ci skip]
hugoreleaser [Thu, 31 Dec 2020 13:36:35 +0000 (13:36 +0000)]
releaser: Bump versions for release of 0.80.0
[ci skip]
Bjørn Erik Pedersen [Thu, 31 Dec 2020 13:25:05 +0000 (14:25 +0100)]
Update 0.80.0-relnotes.md
hugoreleaser [Thu, 31 Dec 2020 13:09:24 +0000 (13:09 +0000)]
releaser: Add release notes for 0.80.0
Rename to *-ready.md to continue.
[ci skip]
Bjørn Erik Pedersen [Thu, 31 Dec 2020 10:32:20 +0000 (11:32 +0100)]
Allow Dart Sass transformations to be cached on disk
This enbles people to build their sites/themes on servers where the Dart Sass binary is not available.
Bjørn Erik Pedersen [Thu, 31 Dec 2020 10:18:54 +0000 (11:18 +0100)]
dartsass: Dart Sass only supports `expanded` and `compressed`
Bjørn Erik Pedersen [Thu, 31 Dec 2020 09:49:39 +0000 (10:49 +0100)]
dartsass: Add missing OutputStyle option
Cameron Moore [Wed, 30 Dec 2020 20:19:40 +0000 (14:19 -0600)]
Update emoji import paths and version
Since emoji is v2, we must import it with the `/v2` suffix. Doing so
allows the Go tools to detect the latest release.
Bjørn Erik Pedersen [Wed, 23 Dec 2020 08:26:23 +0000 (09:26 +0100)]
Add Dart Sass support
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021.
Fixes #7380
Fixes #8102
Horst Gutmann [Mon, 28 Dec 2020 15:06:10 +0000 (16:06 +0100)]
GroupByParamDate now supports datetimes
Previously, the method only worked for date strings but not (for
instance) full RFC3339 datetime strings.
Bjørn Erik Pedersen [Wed, 23 Dec 2020 18:47:20 +0000 (19:47 +0100)]
para: Skip para test when not on CI
Fixes #6963
Bjørn Erik Pedersen [Tue, 22 Dec 2020 09:09:59 +0000 (10:09 +0100)]
Update SECURITY.md
hugoreleaser [Sat, 19 Dec 2020 15:41:03 +0000 (15:41 +0000)]
releaser: Add release notes to /docs for release of 0.79.1
[ci skip]
Bjørn Erik Pedersen [Fri, 18 Dec 2020 17:20:12 +0000 (18:20 +0100)]
Improve LookPath
Patrick Kollitsch [Fri, 18 Dec 2020 16:40:49 +0000 (23:40 +0700)]
docs: create a SECURITY.md
This file is used by Github as a tab on the repos homepage to access information about how to report security issues. The text is kept simple.
Will solve #8074
Bjørn Erik Pedersen [Thu, 17 Dec 2020 08:33:26 +0000 (09:33 +0100)]
Fix Resource.ResourceType so it always returns MIME's main type
The one exception being for the Page, which does not have a MIME type, in which you will get the value `page`.
Fixes #8052
Cameron Moore [Thu, 17 Dec 2020 17:31:40 +0000 (11:31 -0600)]
para: Show more detail on failed time test
Give us more visibility into how badly a given host is failing in the
time test.
Updates #6963
Bjørn Erik Pedersen [Wed, 16 Dec 2020 12:52:47 +0000 (13:52 +0100)]
images: Add images.Overlay filter
This allows for constructs ala:
```
{{ $overlay := $img.Filter (images.Overlay $logo 50 50 )}}
```
Or:
```
{{ $logoFilter := (images.Overlay $logo 50 50 ) }}
{{ $overlay := $img | images.Filter $logoFilter }}
```
Which will overlay the logo in the top left corner (x=50, y=50) of `$img`.
Fixes #8057
Fixes #4595
Updates #6731
Bjørn Erik Pedersen [Wed, 16 Dec 2020 11:20:02 +0000 (12:20 +0100)]
tpl: Regenerate templates
Maciej Sawicki [Wed, 16 Dec 2020 11:13:30 +0000 (12:13 +0100)]
tpl: Fix series detection in opengraph
When inside front matter you specified series with spaces,
then the opengraph template wouldn't detect other articles,
because in `.Site.Taxonomies.series` they are stored by
urlized key.
Example:
```yaml
# in front matter
series:
- My Series
```
```gohtml
{{/* in a template */}}
{{- $series := index .Site.Taxonomies.series$name }}
{{/* was resolved to */}}
{{- $series := index {'my-series': ...} "MySeries" }}
```
真夜 [Wed, 16 Dec 2020 11:12:14 +0000 (19:12 +0800)]
hugolib/paths: Fix typo
Phil Davis [Wed, 16 Dec 2020 11:11:32 +0000 (16:56 +0545)]
all: Fix minor typos
Bjørn Erik Pedersen [Wed, 9 Dec 2020 16:47:10 +0000 (17:47 +0100)]
Fix BenchmarkMergeByLanguage
Fixes #7914
Anthony Fok [Sat, 5 Dec 2020 03:43:03 +0000 (20:43 -0700)]
deps: Bump github.com/spf13/cobra from 0.15.0 to 0.20.0
The substring match in TestExecute deploy test is adjusted accordingly.
Patrick Kollitsch [Fri, 4 Dec 2020 09:04:35 +0000 (16:04 +0700)]
chore: configure proper link to discourse.gohugo.io (#8020)
* chore: configure proper link to discourse.gohugo.io
This adds a configuration file to the issue templates for this repo. In this config file, an issue template is added that will look like the existing issue templates, but on click will lead directly to the discourse forum instead of hoping that people read what it says there. The support.md can be deleted.
* chore: remove obsolete support.md configuration
* chore: remove obsolete autoclosing workflow
Bjørn Erik Pedersen [Thu, 3 Dec 2020 12:47:43 +0000 (13:47 +0100)]
tpl/internal/go_templates: Revert formatting
Should make future fork synch easier.
Bjørn Erik Pedersen [Wed, 2 Dec 2020 12:23:25 +0000 (13:23 +0100)]
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt