mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Merge commit '8b73644d81a81e82851b7f7c90aa8ab5524fbe93'
This commit is contained in:
BIN
docs/content/en/news/0.55.0-relnotes/featured.png
Normal file
BIN
docs/content/en/news/0.55.0-relnotes/featured.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
@@ -1,12 +1,12 @@
|
||||
|
||||
---
|
||||
date: 2019-04-08
|
||||
title: "0.55.0"
|
||||
description: "0.55.0"
|
||||
title: "Hugo 0.55.0: The early Easter Egg Edition!"
|
||||
description: "Faster, virtualized Output Formats, revised shortcodes, new return keyword, and much more …"
|
||||
categories: ["Releases"]
|
||||
---
|
||||
|
||||
Hugo `0.55` is **the early Easter Egg Edition** with lots of great improvements and fixes. The original motivation for this release was to prepare for [Issue #5074](https://github.com/gohugoio/hugo/issues/5074), but the structural changes needed for that paved the way for lots of others. Please study the list of changes below, and especially the **Notes** section, but some headlines include:
|
||||
Hugo `0.55` is **the early Easter Egg Edition** with lots of great improvements and fixes. The original motivation for this release was to prepare for [Issue #5074](https://github.com/gohugoio/hugo/issues/5074), but the structural changes needed for that paved the way for lots of others. Please study the list of changes below, and especially the **Notes** section, but some headlines include:
|
||||
|
||||
## Virtualized Output Formats
|
||||
|
||||
@@ -20,7 +20,7 @@ We have now also added a new `Permalinkable` configuration attribute, which is e
|
||||
|
||||
## Shortcodes Revised
|
||||
|
||||
Shortcodes using the `{{%` as the outer-most delimiter will now be fully rendered when sent to the content renderer (e.g. Blackfriday for Markdown), meaning they can be part of the generated table of contents, footnotes, etc.
|
||||
Shortcodes using the `{{%/* */%}}` as the outer-most delimiter will now be fully rendered when sent to the content renderer (e.g. Blackfriday for Markdown), meaning they can be part of the generated table of contents, footnotes, etc.
|
||||
|
||||
If you want the old behavior, you can put the following line in the start of your shortcode template:
|
||||
|
||||
@@ -28,7 +28,7 @@ If you want the old behavior, you can put the following line in the start of you
|
||||
{{ $_hugo_config := `{ "version": 1 }` }}
|
||||
```
|
||||
|
||||
But using the `{{<` delimiter will, in most cases, be a better alternative, possibly in combination with the `markdownify` template func.
|
||||
But using the `{{</* */>}}` delimiter will, in most cases, be a better alternative, possibly in combination with the `markdownify` template func.
|
||||
|
||||
See [#5763](https://github.com/gohugoio/hugo/issues/5763).
|
||||
|
||||
@@ -65,8 +65,6 @@ The taxonomy nodes now have a `.Page` accessor which makes it much simpler to ge
|
||||
|
||||
See [#5719](https://github.com/gohugoio/hugo/issues/5719).
|
||||
|
||||
|
||||
|
||||
## And it's Faster!
|
||||
|
||||
This version is also the **fastest to date**. A site building benchmark shows more than 10% decrease in both build time and memory consumption, but that depends on the site. It’s quite a challenge to consistently add significant new functionality and simultaneously improve performance. Also, note that we are now more honest about build times reported (`Total in 1234 ms`). We now do all initialization in the `Build` step, so you may get a higher time reported if you, as an example, have `--enableGitInfo` enabled, which now is included in the reported time.
|
||||
|
@@ -43,7 +43,7 @@ Also see this Twitter thread:
|
||||
|
||||
Yes you can! Read [this](/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify).
|
||||
|
||||
## I get "this feature is not available in your current Hugo version"
|
||||
## I get "TOCSS ... this feature is not available in your current Hugo version"
|
||||
|
||||
If you process `SCSS` or `SASS` to `CSS` in your Hugo project, you need the Hugo `extended` version, or else you may see this error message:
|
||||
|
||||
|
Reference in New Issue
Block a user