diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-06 13:03:30 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-06 13:03:30 +0100 |
commit | 1e5eb8679ece0ce8dab3aca6c3267d6a206b790d (patch) | |
tree | 3caa1e0963853490ddaa5ba536ac83ded1e81358 /docs/content/en/news | |
parent | 7f0ebd4a3c9e016afddc2cf5e7dfe6a820aa099a (diff) | |
parent | 3c0036805d64fdd8290f1c4a31371780ff3ea365 (diff) |
Merge commit '3c0036805d64fdd8290f1c4a31371780ff3ea365'
Diffstat (limited to 'docs/content/en/news')
-rw-r--r-- | docs/content/en/news/0.62.2-relnotes/index.md | 4 | ||||
-rw-r--r-- | docs/content/en/news/0.63.0-relnotes/featured-063.png | bin | 0 -> 212246 bytes | |||
-rw-r--r-- | docs/content/en/news/0.63.0-relnotes/index.md | 9 | ||||
-rw-r--r-- | docs/content/en/news/0.63.1-relnotes/index.md | 5 | ||||
-rw-r--r-- | docs/content/en/news/0.63.2-relnotes/index.md | 2 | ||||
-rw-r--r-- | docs/content/en/news/0.64.0-relnotes/hugo-64-poster-featured.png | bin | 0 -> 69464 bytes | |||
-rw-r--r-- | docs/content/en/news/0.64.0-relnotes/index.md | 6 |
7 files changed, 13 insertions, 13 deletions
diff --git a/docs/content/en/news/0.62.2-relnotes/index.md b/docs/content/en/news/0.62.2-relnotes/index.md index 4b4c30399..0d116e5a2 100644 --- a/docs/content/en/news/0.62.2-relnotes/index.md +++ b/docs/content/en/news/0.62.2-relnotes/index.md @@ -9,9 +9,9 @@ images: --- - +The main driving force behind these patch releases in the new year has been getting a good story with [portable links](https://github.com/bep/portable-hugo-links/) between GitHub and Hugo, using the new render hooks introduced in [Hugo 0.62.0](https://gohugo.io/news/0.62.0-relnotes/). And all was mostly well until a Hugo user asked about anchor links. Which is, when you look into it, a slightly sad Markdown story. They have been [talking about anchors in Markdown](https://talk.commonmark.org/t/anchors-in-markdown/247) over at the CommonMark forum for the last six years, but it has come to nothing. The current situation is that some Markdown engines support the `{#anchorName}` attribute syntax (Hugo's Goldmark does, GitHub does not) and for those that support auto-generation of IDs, the implementation often varies. And this makes for poor portability. -This is a bug-fix release with a couple of important fixes. +To improve this, Hugo has now reverse-engineered GitHub's implementation and made that the default strategy for generation or header IDs. We understand that this isn't everyone's cup of tea, so you can [configure the behaviour](https://gohugo.io/getting-started/configuration-markup#goldmark) to be one of `github`, `github-ascii` (some client-libraries have Unicode issues) or `blackfriday` (which will match how it behaved before Hugo 0.60). * hugolib: Fix relative .Page.GetPage from bundle [196a9df5](https://github.com/gohugoio/hugo/commit/196a9df585c4744e3280f37c1c24e469fce14b8c) [@bep](https://github.com/bep) [#6705](https://github.com/gohugoio/hugo/issues/6705) * markup/goldmark: Adjust auto ID space handling [9b6e6146](https://github.com/gohugoio/hugo/commit/9b6e61464b09ffe3423fb8d7c72bddb7a9ed5b98) [@bep](https://github.com/bep) [#6710](https://github.com/gohugoio/hugo/issues/6710) diff --git a/docs/content/en/news/0.63.0-relnotes/featured-063.png b/docs/content/en/news/0.63.0-relnotes/featured-063.png Binary files differnew file mode 100644 index 000000000..3944d52cc --- /dev/null +++ b/docs/content/en/news/0.63.0-relnotes/featured-063.png diff --git a/docs/content/en/news/0.63.0-relnotes/index.md b/docs/content/en/news/0.63.0-relnotes/index.md index 1b01696f0..899dfdb39 100644 --- a/docs/content/en/news/0.63.0-relnotes/index.md +++ b/docs/content/en/news/0.63.0-relnotes/index.md @@ -1,12 +1,14 @@ --- date: 2020-01-23 -title: "0.63.0" -description: "0.63.0" +title: "Improved base templates, and faster!" +description: "In Hugo 0.63 we have improved the base template lookup logic, and this simplification also made Hugo faster …" categories: ["Releases"] --- - Hugo `0.53` is, in general, **considerably faster and more memory effective** (see the site-building benchmarks below comparing it to `v0.52`). Not that we are particularly concerned about Hugo's build speed. We leave that to others. But we would hate if it got slower, so we have a comprehensive benchmark suite. And when we needed to simplify the template handling code to solve a concurrency issue, it also became more effective. And as a bonus, we also finally got the [base template lookup order](https://gohugo.io/templates/base/#base-template-lookup-order) that you really, really wanted! +**Note:** There is already a [patch release](/news/0.63.1-relnotes/) with some fixes. + +Hugo `0.63` is, in general, **considerably faster and more memory effective** (see the site-building benchmarks below comparing it to `v0.62`). Not that we are particularly concerned about Hugo's build speed. We leave that to others. But we would hate if it got slower, so we have a comprehensive benchmark suite. And when we needed to simplify the template handling code to solve a concurrency issue, it also became more effective. And as a bonus, we also finally got the [base template lookup order](https://gohugo.io/templates/base/#base-template-lookup-order) that you really, really wanted! ```bash name old time/op new time/op delta @@ -56,6 +58,7 @@ Hugo now has: * `.Type` on-page now returns an empty string if not set in the front matter or if `.Section` returns empty. See [#6760](https://github.com/gohugoio/hugo/issues/6760). * Baseof template (e.g. `baseof.html`) lookup order is completely revised/expanded. See [base template lookup order](https://gohugo.io/templates/base/#base-template-lookup-order). We now do template resolution at execution time following the same rules as the template it applies to (e.g. `_default/single.html`). This is an obvious improvement and your site should work as before. * Shortcode params now supports params with raw string literals (strings surrounded with \`\`) that supports newlines. +* Note: In a base template (e.g. `baseof.html`), the first template block must be a `define`. ## Enhancements diff --git a/docs/content/en/news/0.63.1-relnotes/index.md b/docs/content/en/news/0.63.1-relnotes/index.md index 103e39635..e6ae8b906 100644 --- a/docs/content/en/news/0.63.1-relnotes/index.md +++ b/docs/content/en/news/0.63.1-relnotes/index.md @@ -8,13 +8,10 @@ images: - images/blog/hugo-bug-poster.png --- - - This is a bug-fix release with a couple of important fixes. * deps: Make the build flags shared between sites [0df7bd62](https://github.com/gohugoio/hugo/commit/0df7bd62df460a49544845d5332f33b2020b48a1) [@bep](https://github.com/bep) [#6789](https://github.com/gohugoio/hugo/issues/6789) * Fix baseof with regular define regression [f441f675](https://github.com/gohugoio/hugo/commit/f441f675126ef1123d9f94429872dd683b40e011) [@bep](https://github.com/bep) [#6790](https://github.com/gohugoio/hugo/issues/6790) - - +* Revert to minify [v2.61](https://github.com/gohugoio/hugo/commit/7ed22e9fb6a5b74c52ae6054b843b8c64e83f4b6) diff --git a/docs/content/en/news/0.63.2-relnotes/index.md b/docs/content/en/news/0.63.2-relnotes/index.md index 030f2f726..8477ef02c 100644 --- a/docs/content/en/news/0.63.2-relnotes/index.md +++ b/docs/content/en/news/0.63.2-relnotes/index.md @@ -15,6 +15,6 @@ This is a bug-fix release with a couple of important fixes. * And now finally fix the 404 templates [74b6c4e5](https://github.com/gohugoio/hugo/commit/74b6c4e5ff5ee16f0e6b352a26c1e58b90a25dc6) [@bep](https://github.com/bep) [#6795](https://github.com/gohugoio/hugo/issues/6795) * Fix 404 with base template regression [8df5d76e](https://github.com/gohugoio/hugo/commit/8df5d76e708238563185bac84809b34a4d395734) [@bep](https://github.com/bep) [#6795](https://github.com/gohugoio/hugo/issues/6795) - +* Revert to .Type = "page" when empty [#6805](https://github.com/gohugoio/hugo/issues/6805) diff --git a/docs/content/en/news/0.64.0-relnotes/hugo-64-poster-featured.png b/docs/content/en/news/0.64.0-relnotes/hugo-64-poster-featured.png Binary files differnew file mode 100644 index 000000000..71861bad8 --- /dev/null +++ b/docs/content/en/news/0.64.0-relnotes/hugo-64-poster-featured.png diff --git a/docs/content/en/news/0.64.0-relnotes/index.md b/docs/content/en/news/0.64.0-relnotes/index.md index 0f42e7f4d..e03dc8f54 100644 --- a/docs/content/en/news/0.64.0-relnotes/index.md +++ b/docs/content/en/news/0.64.0-relnotes/index.md @@ -1,12 +1,12 @@ --- date: 2020-02-04 -title: "0.64.0" -description: "0.64.0" +title: "Mostly bugfixes …" +description: "Hugo 0.64.0 is the version you really really want …" categories: ["Releases"] --- - Hugo **0.64.0** is mostly a bugfix-release, but well worth the download. The main reason this release comes so soon after the previous is my (me being [@bep](https://github.com/bep)) ongoing work on getting solid support for third-party libraries in [Hugo Modules](https://gohugo.io/hugo-modules/). In particular, this release makes the Hugo server's live-reload work with [Turbolinks](https://github.com/bep/hugo-alpine-test/blob/27927832630be588eab0be2197cc8c0cb5725540/config.toml#L11) and similar. Also worth mentioning is that `hugo mod get -u` (without any path) now correctly updates every module imported in `config.toml` even with Go 1.13. +Hugo **0.64.0** is mostly a bugfix-release, but well worth the download. The main reason this release comes so soon after the previous is my (me being [@bep](https://github.com/bep)) ongoing work on getting solid support for third-party libraries in [Hugo Modules](https://gohugo.io/hugo-modules/). In particular, this release makes the Hugo server's live-reload work with [Turbolinks](https://github.com/bep/hugo-alpine-test/blob/27927832630be588eab0be2197cc8c0cb5725540/config.toml#L11) and similar. Also worth mentioning is that `hugo mod get -u` (without any path) now correctly updates every module imported in `config.toml` even with Go 1.13. This release represents **16 contributions by 2 contributors** to the main Hugo code base. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), |