Bjørn Erik Pedersen [Mon, 22 Jul 2019 11:22:04 +0000 (13:22 +0200)]
Fix livereload for @import case
Fixes #6106
peaceiris [Sat, 20 Jul 2019 09:46:13 +0000 (18:46 +0900)]
releaser: Remove unused function
gitLog function is not used
Bjørn Erik Pedersen [Fri, 19 Jul 2019 07:09:04 +0000 (09:09 +0200)]
deps: Update xerrors
To get it to build on Go 1.13.
Bjørn Erik Pedersen [Wed, 17 Jul 2019 13:35:31 +0000 (15:35 +0200)]
travis: Ignore errors in go mod download
It sometimes fails with 502 errors, but the dependency download later when tests are run.
Bjørn Erik Pedersen [Tue, 16 Jul 2019 19:08:18 +0000 (21:08 +0200)]
deps: Update Chroma
Fixes #6088
Eric Selin [Fri, 17 Aug 2018 15:30:53 +0000 (17:30 +0200)]
resource/postcss: Change postcss to check for local installation under node_modules/.bin
Fixes #5091
Bjørn Erik Pedersen [Mon, 15 Jul 2019 21:50:56 +0000 (23:50 +0200)]
Bjørn Erik Pedersen [Mon, 15 Jul 2019 21:49:41 +0000 (23:49 +0200)]
Squashed 'docs/' changes from
0c3c04fd6..
540aeddc7
540aeddc7 Small fixes for Open Graph internal template
47bbb3fd7 Bump lodash.template from 4.4.0 to 4.5.0 in /themes/gohugoioTheme
64c1cc3db Update title.md
36c27be37 Update configuration.md
4627cfe9a added commento.io to the list
341d9d945 Fix link to font assets
4a6876dec Small typo fix in configuration.md
736d6ddd7 Add bypasscensorship.org showcase.
de7ab636b Use actual width in image processing examples
6c88ab2da Update directory-structure.md
88f559e81 Fix spelling mistakes
7bd427141 Rephrase four points from Hosting on Github docs
bce1b1832 Fix typos for absLangURL and relLangURL functions
abab57335 Update directory-structure.md
a6716f2ed Fix metadata list
5ef61d912 Fix typo
d9e467b8b Actuall show how to generate pages in quickstart
0aadc92e7 Update link to issue theme submission
b1902faaa Remove incorrect note about Hugo snap --classic use.
d451e7362 Update documentation on page variables
ab2233c39 Update publish_to_ghpages.sh
7c120346b Fix typo in syntax highlighting page.
f01dc555d Correct some typos
be825ade9 Videos plural produces og:video
bc962fbdf Updated installing.md file to include linuxbrew installation
08c9f8fc8 Mention 1 MB file size limit in readFile doc
7145e29e2 Fixes bad URL in menus.md for .hasChildren * part of issue #814
0edbd59c4 add warning about .Hugo variable being deprecated
77f74ced5 fix: typo in output-formats.md
f71b67f34 Correct typo "RFC339" to "RFC1123Z" (#837)
424c0207a baseurl -> baseURL
f4e24a03e Render launched; no invite code needed
37e1101d3 Add Render hosting guide
01d0a6481 Bump js-yaml from 3.12.0 to 3.13.1 in /themes/gohugoioTheme
edb7b36b0 Link site hierarchy schema to larger version
af72acda0 Fixes typo in fingerprint.md
0a738467b Adding required XML tag to sample templates
52211f656 Remove note that XML declaration is not needed
a39b9ac87 Adding required XML tag to sample templates
1a44d8a50 Add configuration information for Azure
5b7c6b5a1 remove google plus
5a64301ba HTTPS link to yaml.org/spec/
git-subtree-dir: docs
git-subtree-split:
540aeddc797658a2c3d0e49e944592d2b23b3bb8
Bjørn Erik Pedersen [Thu, 11 Jul 2019 05:12:44 +0000 (07:12 +0200)]
tpl/collections: Add Merge function
Merges two maps recursively and returns a new one. Merge is case-insensitive.
Fixes #5992
Niklas Fasching [Mon, 17 Jun 2019 12:49:44 +0000 (14:49 +0200)]
Add org to front matter formats
actually it's 5, there's also csv. Afaict it's not meant to be used in that way
though so let's just add org.
Niklas Fasching [Sun, 7 Jul 2019 19:54:37 +0000 (21:54 +0200)]
deps: Update go-org
- added support for anonymous footnotes
- changed source block html output to more closely resemble emacs org-export
output
Kaushal Modi [Tue, 9 Jul 2019 14:29:30 +0000 (10:29 -0400)]
Fix typo s/Meny/Menu/
Bjørn Erik Pedersen [Sun, 7 Jul 2019 11:01:30 +0000 (13:01 +0200)]
hugolib: Add testfile to .gitignore
Bjørn Erik Pedersen [Wed, 26 Jun 2019 20:39:32 +0000 (22:39 +0200)]
tpl/tplimpl: Regenerate templates
Mark Mandel [Wed, 26 Jun 2019 20:31:06 +0000 (13:31 -0700)]
Pagination - do not render href if no next item
When using a html link checker with Hugo, this template consistently causes errors, as it renders `href=""` attributes when next/previous is disabled.
This change makes it so that the `href` attribute is not rendered at all if `HasNext` is false - which is better semantically, and makes link checking far easier.
Justin Van Patten [Wed, 26 Jun 2019 06:26:02 +0000 (23:26 -0700)]
Include path to source page in non-relative ref/relref warning
We occasionally see warnings when building our site:
```
WARN 2019/06/25 23:07:08 make non-relative ref/relref page reference(s) in page %q absolute, e.g. {{< ref "/blog/my-post.md" >}}
```
But the `%q` value is missing, making it difficult to track down the source of the warning.
This change addresses that, by including the source path in the warning:
```
WARN 2019/06/25 23:07:31 make non-relative ref/relref page reference(s) in page "blog/my-post/index.md" absolute, e.g. {{< ref "/blog/my-post.md" >}}
```
Bjørn Erik Pedersen [Tue, 25 Jun 2019 21:56:06 +0000 (23:56 +0200)]
hugolib: Add another site benchmark
Also rework test test setup so the benchmarks can also be run as tests, which
is useful when creating new benchmarks an make sure they ... work.
Joshua Arnott [Wed, 19 Jun 2019 21:03:30 +0000 (22:03 +0100)]
commands: Remove comma after URL in new site output
Some terminals include the comma in the URL when hyperlinking, resulting in a 404
Bjørn Erik Pedersen [Sun, 16 Jun 2019 20:13:23 +0000 (22:13 +0200)]
deps: Revert to an older version of Blackfriday
See #6040
Christian Oliff [Wed, 12 Jun 2019 11:56:05 +0000 (20:56 +0900)]
examples: Update link to prevent redirect
Christian Oliff [Wed, 12 Jun 2019 10:29:19 +0000 (19:29 +0900)]
examples: Update URLs
Bjørn Erik Pedersen [Sat, 8 Jun 2019 12:14:27 +0000 (14:14 +0200)]
releaser: Update Go Releaser and consolidate the 2 configs
Fixes #5949
Bjørn Erik Pedersen [Sun, 9 Jun 2019 10:50:53 +0000 (12:50 +0200)]
tpl/collections: Fix slice type handling in sort
The `sort` template func was producing a `[]page.Page` which did not work in `.Paginate`.
Fixes #6023
Bjørn Erik Pedersen [Fri, 31 May 2019 07:40:58 +0000 (09:40 +0200)]
hugolib: Fix bundle path when slug is set
Fixes #4870
Bjørn Erik Pedersen [Mon, 27 May 2019 20:57:57 +0000 (22:57 +0200)]
tpl/collections: Unwrap any interface value in sort and where
Hugo `0.55.0` introduced some new interface types for `Page` etc.
This worked great in general, but there were cases where this would fail in `where` and `sort`.
One such example would be sorting by `MenuItem.Page.Date` where `Page` on `MenuItem` was a small subset of the bigger `page.Page` interface.
This commit fixes that by unwrapping such interface values.
Fixes #5989
Niklas Fasching [Tue, 4 Jun 2019 10:21:48 +0000 (12:21 +0200)]
Refactor Org mode front matter: Introduce '#+KEY[]:' array notation
Hugo requires some front matter values to be arrays (e.g. for taxonomies).
Org mode front matter syntax (`#+KEY: VALUE`) does however not support anything
but string values normally - which is why goorgeous hardcoded the values for
the keys tags, categories & aliases to be parsed as string arrays. This causes
problems with custom taxonomies.
A simple thing we can do instead is make keywords ending in '[]' be parsed as
string arrays.
Niklas Fasching [Tue, 4 Jun 2019 10:21:25 +0000 (12:21 +0200)]
Improve Org mode support: Replace goorgeous with go-org
Sadly, goorgeous has not been updated in over a year and still has a lot of
open issues (e.g. no support for nested lists).
go-org fixes most of those issues and supports a larger subset of Org mode
syntax.
Robert van Gent [Fri, 31 May 2019 17:10:38 +0000 (10:10 -0700)]
deploy: Default --target to the first deployment target
Vincent Fiduccia [Sun, 2 Jun 2019 06:56:19 +0000 (23:56 -0700)]
Add safety barrier between concatenated javascript resources
Robert van Gent [Fri, 31 May 2019 17:00:15 +0000 (10:00 -0700)]
Update CLI doc for "long" form
Robert van Gent [Fri, 31 May 2019 16:55:48 +0000 (09:55 -0700)]
Drop dashes in http header matcher attributes; other changes from code review
Robert van Gent [Thu, 30 May 2019 20:29:06 +0000 (13:29 -0700)]
docs: Add documentation for "hugo deploy"
Robert van Gent [Thu, 30 May 2019 20:31:27 +0000 (13:31 -0700)]
deploy: remove TODO comment about subfolders; handled by GoCDK blob URLs
Robert van Gent [Thu, 30 May 2019 19:15:47 +0000 (12:15 -0700)]
deps: Update gocloud.dev to v0.15.0.
Anton Harniakou [Thu, 30 May 2019 09:32:58 +0000 (12:32 +0300)]
tpl/collections: Convert numeric values to float64 and compare them
Fixes #5685
Bjørn Erik Pedersen [Wed, 29 May 2019 20:33:03 +0000 (22:33 +0200)]
resources: Return nil when not found in resources.Get
Fixes #5999
Bjørn Erik Pedersen [Tue, 28 May 2019 14:11:09 +0000 (16:11 +0200)]
deps: Update Viper
This will hopefully improve the dependency/install problems we have seen lately.
See #5954
Bruno Amaral [Sun, 26 May 2019 17:24:46 +0000 (18:24 +0100)]
Remove references to Google+
According to google, this is no longer supported and structured data should be used instead: https://support.google.com/webmasters/answer/
6083347?hl=en
Bjørn Erik Pedersen [Sat, 25 May 2019 08:43:09 +0000 (10:43 +0200)]
Update gitmap to get CommitDate field
Bjørn Erik Pedersen [Sat, 25 May 2019 08:41:51 +0000 (10:41 +0200)]
Bjørn Erik Pedersen [Sat, 25 May 2019 08:41:23 +0000 (10:41 +0200)]
Squashed 'docs/' changes from
50c02516c..
0c3c04fd6
0c3c04fd6 Merge pull request #827 from BCNelson/range-patch
b14dd3505 Updated link to Go Docs to more helpful page
c3d83149a Boolean Values in the Where Function
56d4cea3c hugo-extended no longer the default
e9b15c698 Update index.md
11de98e0d Release 0.55.6
d2def17f4 Merge branch 'release-0.55.6'
115457b70 releaser: Add release notes to /docs for release of 0.55.6
25855690d Fix misspelling
fc5e43db2 Update 404.md with Netlify Instructions
9f684318f Removed mentioning of removed --stepAnalysis command line option
86ba9071c Related md5 and aliases for sha1/sha256
15f48966a Added related sha function into the See Also
5e08b6930 Fix date description
908e87ab2 Revert docs/config.toml changes
c925646cf Add a "deploy" command
e765084dd Update sectionvars.md
e08be4d81 Update sectionvars.md
7c9653cbe Hugo 0.55.5
1035ff028 releaser: Add release notes to /docs for release of 0.55.5
cda21f9d4 docs: Regenerate docs helper
git-subtree-dir: docs
git-subtree-split:
0c3c04fd63a7f140bdca0d3ca9b1e9dc794ebd77
Ruslan Nasonov [Sat, 4 May 2019 14:21:21 +0000 (21:21 +0700)]
commands: Create new 'hugo list all' command
New:
- command `hugo list all`, return all posts meta in csv format
Refactoring:
- move common parts in commands/list.go to function `buildSites`
- change way to detect path to content
See #5904
Brice BERDAH [Fri, 24 May 2019 09:40:30 +0000 (11:40 +0200)]
Medium -> Hugo exporting tool
Suggesting a simple yet powerful tool for people looking to export their Medium blog to Hugo
Brian 'Redbeard' Harrington [Sat, 18 May 2019 05:39:14 +0000 (22:39 -0700)]
dockerfile: Switch base image for final build
Switching the base image for the final build to alpine as it still
provides a minimal interface, but has a mechanism for easily including
relevant CA certificates. This is currently pinned to a tagged version,
though since none of the underlying mechanisms are used this should
balance both remaining stable, supported for a period of time, and
providing usable functionality.
Resolves #5970
Affects #5056
Bjørn Erik Pedersen [Sat, 18 May 2019 08:18:23 +0000 (10:18 +0200)]
Merge branch 'release-0.55.6'
hugoreleaser [Sat, 18 May 2019 07:57:50 +0000 (07:57 +0000)]
releaser: Prepare repository for 0.56.0-DEV
[ci skip]
hugoreleaser [Sat, 18 May 2019 07:55:28 +0000 (07:55 +0000)]
releaser: Add release notes to /docs for release of 0.55.6
[ci skip]
hugoreleaser [Sat, 18 May 2019 07:55:28 +0000 (07:55 +0000)]
releaser: Bump versions for release of 0.55.6
[ci skip]
Bjørn Erik Pedersen [Sat, 18 May 2019 07:49:46 +0000 (09:49 +0200)]
Release 0.55.6
hugoreleaser [Sat, 18 May 2019 07:39:23 +0000 (07:39 +0000)]
releaser: Add release notes draft for 0.55.6
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Sat, 18 May 2019 06:38:58 +0000 (08:38 +0200)]
hugolib: Prevent parallel server rebuilds
There have been reports about infrequent paginator crashes when running the Hugo server since 0.55.0.
The reason have been narrowed down to that of parallel rebuilds.
This isn't a new thing, but the changes in 0.55.0 made it extra important to serialize the page initialization.
This commit fixes that by protecting the `Build` method with a lock when running in server mode.
Fixes #5885
Fixes #5968
Rodolfo Carvalho [Mon, 22 Apr 2019 14:26:36 +0000 (15:26 +0100)]
tpl: Fix internal templates usage of safeHTMLAttr
The `safeHTMLAttr` function operates on a full attribute definition, not
just within the attribute value.
Docs: https://gohugo.io/functions/safehtmlattr/
For `opengraph.html`, run the whole `content` HTML attribute through
`safeHTMLAttr`. That will preserve `+` signs in formatted dates.
For `vimeo_simple.html`, `safeHTMLAttr` was in the context of an
attribute value, thus having no effect. In this case we could replace it
with `safeURL`, but since the code is coming from an API it is safer to
just let Go's template engine sanitize the value as it already does with
`provider_url`.
Fixes #5236 (no need to change Go upstream)
Related to #5246
Bjørn Erik Pedersen [Wed, 15 May 2019 05:49:04 +0000 (07:49 +0200)]
Update to Go 1.12.5 and Go 1.11.10
Fixes #5944
Robert van Gent [Fri, 3 May 2019 23:38:05 +0000 (16:38 -0700)]
deploy: Add tests; fix Windows
Robert van Gent [Fri, 3 May 2019 16:30:46 +0000 (09:30 -0700)]
deploy: Support configuration of upload order
Robert van Gent [Wed, 1 May 2019 20:25:06 +0000 (13:25 -0700)]
deploy: Support invalidating a CloudFront CDN cache
Bjørn Erik Pedersen [Sat, 4 May 2019 16:25:56 +0000 (18:25 +0200)]
i18n: Move the package below /langs
To get fewer top level packages.
Robert van Gent [Fri, 3 May 2019 20:28:35 +0000 (13:28 -0700)]
deploy: compute MD5 by reading if List didn't provide one
Robert van Gent [Fri, 3 May 2019 15:30:00 +0000 (08:30 -0700)]
Revert docs/config.toml changes
Bjørn Erik Pedersen [Fri, 3 May 2019 06:22:24 +0000 (08:22 +0200)]
travis: Use proxy.golang.org
Robert van Gent [Thu, 20 Dec 2018 19:22:03 +0000 (11:22 -0800)]
Add a "deploy" command
Bjørn Erik Pedersen [Fri, 3 May 2019 07:20:39 +0000 (09:20 +0200)]
hugolib: Disable racy test
See #5926
hugoreleaser [Thu, 2 May 2019 13:06:04 +0000 (13:06 +0000)]
releaser: Prepare repository for 0.56.0-DEV
[ci skip]
hugoreleaser [Thu, 2 May 2019 13:03:34 +0000 (13:03 +0000)]
releaser: Add release notes to /docs for release of 0.55.5
[ci skip]
hugoreleaser [Thu, 2 May 2019 13:03:34 +0000 (13:03 +0000)]
releaser: Bump versions for release of 0.55.5
[ci skip]
Bjørn Erik Pedersen [Thu, 2 May 2019 12:50:04 +0000 (14:50 +0200)]
Release 0.55.5
hugoreleaser [Thu, 2 May 2019 12:36:11 +0000 (12:36 +0000)]
releaser: Add release notes draft for 0.55.5
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Thu, 2 May 2019 12:26:02 +0000 (14:26 +0200)]
docs: Regenerate docs helper
Bjørn Erik Pedersen [Thu, 2 May 2019 12:24:13 +0000 (14:24 +0200)]
Bjørn Erik Pedersen [Thu, 2 May 2019 12:23:40 +0000 (14:23 +0200)]
Squashed 'docs/' changes from
13097daf2..
50c02516c
50c02516c resources: Clean
380554caf Added Pharmaseal case study
bd462671d Fix typo
0522a2595 no -> fr
f2c4671db Fix broken Netlify setup
056da25f2 Release 0.55.4
2ddca746e Merge branch 'temp554'
3d6cf9967 releaser: Add release notes to /docs for release of 0.55.4
9dc637cab Minor link fix
95186103c Release 0.55.3
b2449cd25 releaser: Add release notes to /docs for release of 0.55.3
55934c3a2 docs: Regenerate docs helper
git-subtree-dir: docs
git-subtree-split:
50c02516cb7237dc1b95e98fe433327a4bcefc10
Bjørn Erik Pedersen [Thu, 2 May 2019 07:54:26 +0000 (09:54 +0200)]
output: Fix permalink in sitemap etc. when multiple permalinkable output formats
In Hugo 0.55.0 we made AMP `permalinkable`. We also render the output formats in their natural sort order, meaning `AMP` will be rendered before `HTML`. References in the sitemap would then point to the AMP version, and this is normally not what you'd want.
This commit fixes that by making `HTML` by default sort before the others.
If this is not you want, you can set `weight` on the output format configuration.
Fixes #5910
Bjørn Erik Pedersen [Wed, 1 May 2019 15:51:03 +0000 (17:51 +0200)]
hugolib: Fix PrevInSection/NextInSection for nested sections
This was broken in Hugo 0.55.0.
Fixes #5883
Bjørn Erik Pedersen [Mon, 29 Apr 2019 17:05:28 +0000 (19:05 +0200)]
lazy: Fix concurrent initialization order
Fixes #5901
David Birks [Mon, 29 Apr 2019 18:58:03 +0000 (14:58 -0400)]
Update blackfriday to v1.5.2
Bjørn Erik Pedersen [Mon, 29 Apr 2019 08:48:36 +0000 (10:48 +0200)]
tpl/compare: Fix nil compare in eq/ne for interface values
Fixes #5905
Cameron Moore [Fri, 28 Dec 2018 18:48:12 +0000 (12:48 -0600)]
tpl: Fix hugo package name and add godocs
Cameron Moore [Fri, 28 Dec 2018 04:28:54 +0000 (22:28 -0600)]
tpl: Provide more detailed errors in Where
hugoreleaser [Thu, 25 Apr 2019 07:41:16 +0000 (07:41 +0000)]
releaser: Prepare repository for 0.56.0-DEV
[ci skip]
hugoreleaser [Thu, 25 Apr 2019 07:38:48 +0000 (07:38 +0000)]
releaser: Add release notes to /docs for release of 0.55.4
[ci skip]
hugoreleaser [Thu, 25 Apr 2019 07:38:48 +0000 (07:38 +0000)]
releaser: Bump versions for release of 0.55.4
[ci skip]
Bjørn Erik Pedersen [Thu, 25 Apr 2019 07:28:17 +0000 (09:28 +0200)]
Release 0.55.4
hugoreleaser [Thu, 25 Apr 2019 07:26:35 +0000 (07:26 +0000)]
releaser: Add release notes draft for 0.55.4
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Wed, 24 Apr 2019 12:05:37 +0000 (14:05 +0200)]
hugolib: Fix shortcode version=1 logic
Fixes #5831
Bjørn Erik Pedersen [Tue, 23 Apr 2019 10:33:51 +0000 (12:33 +0200)]
hugolib: Avoid recloning of shortcode templates
```bash
benchmark old ns/op new ns/op delta
BenchmarkSiteNew/Bundle_with_image-4
14572242 14382188 -1.30%
BenchmarkSiteNew/Bundle_with_JSON_file-4
13683922 13738196 +0.40%
BenchmarkSiteNew/Multiple_languages-4
41912231 25192494 -39.89%
benchmark old allocs new allocs delta
BenchmarkSiteNew/Bundle_with_image-4 57496 57493 -0.01%
BenchmarkSiteNew/Bundle_with_JSON_file-4 57492 57501 +0.02%
BenchmarkSiteNew/Multiple_languages-4 242422 118809 -50.99%
benchmark old bytes new bytes delta
BenchmarkSiteNew/Bundle_with_image-4
3845077 3844065 -0.03%
BenchmarkSiteNew/Bundle_with_JSON_file-4
3627442 3627798 +0.01%
BenchmarkSiteNew/Multiple_languages-4
13963502 7543885 -45.97%
```
Fixes #5890
Bjørn Erik Pedersen [Tue, 23 Apr 2019 17:24:19 +0000 (19:24 +0200)]
i18n: Avoid rebuilding the Translations map for every lookup
```bash
benchmark old ns/op new ns/op delta
BenchmarkI18nTranslate/all-present-4 764 757 -0.92%
BenchmarkI18nTranslate/present-in-default-4 2578 1457 -43.48%
BenchmarkI18nTranslate/present-in-current-4 764 766 +0.26%
BenchmarkI18nTranslate/missing-4 3362 1103 -67.19%
BenchmarkI18nTranslate/file-missing-4 4646 3611 -22.28%
BenchmarkI18nTranslate/context-provided-4 2013 2014 +0.05%
BenchmarkI18nTranslate/same-id-and-translation-4 1961 784 -60.02%
BenchmarkI18nTranslate/same-id-and-translation-default-4 3717 1405 -62.20%
BenchmarkI18nTranslate/unknown-language-code-4 1775 1787 +0.68%
benchmark old allocs new allocs delta
BenchmarkI18nTranslate/all-present-4 6 6 +0.00%
BenchmarkI18nTranslate/present-in-default-4 16 10 -37.50%
BenchmarkI18nTranslate/present-in-current-4 6 6 +0.00%
BenchmarkI18nTranslate/missing-4 20 8 -60.00%
BenchmarkI18nTranslate/file-missing-4 27 21 -22.22%
BenchmarkI18nTranslate/context-provided-4 15 15 +0.00%
BenchmarkI18nTranslate/same-id-and-translation-4 12 6 -50.00%
BenchmarkI18nTranslate/same-id-and-translation-default-4 22 10 -54.55%
BenchmarkI18nTranslate/unknown-language-code-4 13 13 +0.00%
benchmark old bytes new bytes delta
BenchmarkI18nTranslate/all-present-4 152 152 +0.00%
BenchmarkI18nTranslate/present-in-default-4 1144 216 -81.12%
BenchmarkI18nTranslate/present-in-current-4 152 152 +0.00%
BenchmarkI18nTranslate/missing-4 2008 152 -92.43%
BenchmarkI18nTranslate/file-missing-4 1208 600 -50.33%
BenchmarkI18nTranslate/context-provided-4 704 704 +0.00%
BenchmarkI18nTranslate/same-id-and-translation-4 1080 152 -85.93%
BenchmarkI18nTranslate/same-id-and-translation-default-4 2073 216 -89.58%
BenchmarkI18nTranslate/unknown-language-code-4 696 696 +0.00%
```
Fixes #5892
Bjørn Erik Pedersen [Tue, 23 Apr 2019 15:14:02 +0000 (17:14 +0200)]
commands: Init mem profile at the end
Much more useful ...
Bjørn Erik Pedersen [Mon, 22 Apr 2019 07:13:47 +0000 (09:13 +0200)]
hugolib: No links for bundled pages
This fixes a bug introduced in Hugo 0.55.
Fixes #5882
hugoreleaser [Sat, 20 Apr 2019 14:25:57 +0000 (14:25 +0000)]
releaser: Prepare repository for 0.56.0-DEV
[ci skip]
hugoreleaser [Sat, 20 Apr 2019 14:23:12 +0000 (14:23 +0000)]
releaser: Add release notes to /docs for release of 0.55.3
[ci skip]
hugoreleaser [Sat, 20 Apr 2019 14:23:12 +0000 (14:23 +0000)]
releaser: Bump versions for release of 0.55.3
[ci skip]
Bjørn Erik Pedersen [Sat, 20 Apr 2019 14:12:42 +0000 (16:12 +0200)]
Release 0.55.3
hugoreleaser [Sat, 20 Apr 2019 14:08:54 +0000 (14:08 +0000)]
releaser: Add release notes draft for 0.55.3
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Sat, 20 Apr 2019 13:20:08 +0000 (15:20 +0200)]
docs: Regenerate docs helper
Bjørn Erik Pedersen [Sat, 20 Apr 2019 13:19:38 +0000 (15:19 +0200)]
Bjørn Erik Pedersen [Sat, 20 Apr 2019 13:18:59 +0000 (15:18 +0200)]
Squashed 'docs/' changes from
0f2bf195e..
13097daf2
13097daf2 Update shortcode docs vs 0.55
9a7e19231 Update URL docs for relative URLs etc
bd58dd877 Adjust Output Formats docs
f3e9fbc00 Document output format `permalinkable`
3778ce689 Update partials.md
7b207a404 Partial: Update variable name in example
7d7b1f03c Document partials returning a value.
7ae93b7ca Merge branch 'temp552'
81910d266 releaser: Add release notes to /docs for release of 0.55.2
c166cef47 Fix typo
23adeb672 Point mmark links to its new repository
369a87339 Merge branch 'temp551'
eb6097e9f Bump to 0.55.1
766ee61a8 releaser: Add release notes to /docs for release of 0.55.1
a5a5f5d75 Start of taxonomy docs update for Hugo 0.55
fb5f75e9a Remove the space in `. RelPermalink`
git-subtree-dir: docs
git-subtree-split:
13097daf2e22fabfdb7528ca8709e86dba2b4a72
Bjørn Erik Pedersen [Sat, 20 Apr 2019 09:50:57 +0000 (11:50 +0200)]
Fix links for non-HTML output formats
They were not correct for regular pages.
Fixes #5877
Bjørn Erik Pedersen [Fri, 19 Apr 2019 08:41:56 +0000 (10:41 +0200)]
hugolib: Add some OutputFormats.Get tests
See #5877
Bjørn Erik Pedersen [Fri, 19 Apr 2019 07:18:12 +0000 (09:18 +0200)]
Fix menu URL when multiple permalinkable output formats
In Hugo `0.55` we introduced the `permalinkable` config attribute on Output Format, default enabled for `AMP` and `HTML`.
This meant that a Page could have different `RelPermalink` and `Permalink` depending on the rendering format.
The menu `URL` did not reflect that fact.
Fixes #5849
Bjørn Erik Pedersen [Fri, 19 Apr 2019 07:07:21 +0000 (09:07 +0200)]
hugolib: Add some integration tests for in/uniq using Pages
See #5875
See #5852
Bjørn Erik Pedersen [Fri, 19 Apr 2019 06:58:12 +0000 (08:58 +0200)]
tpl/collections: Return error on invalid input in in
See #5875