diff --git a/docs/.gitignore b/docs/.gitignore index 190dfb1ab..b203a37cd 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -2,3 +2,4 @@ /public nohup.out .DS_Store +trace.out \ No newline at end of file diff --git a/docs/content/en/news/0.55.0-relnotes/featured.png b/docs/content/en/news/0.55.0-relnotes/featured.png new file mode 100644 index 000000000..0d3180579 Binary files /dev/null and b/docs/content/en/news/0.55.0-relnotes/featured.png differ diff --git a/docs/content/en/news/0.55.0-relnotes/index.md b/docs/content/en/news/0.55.0-relnotes/index.md index 7a198336d..c22eaf366 100644 --- a/docs/content/en/news/0.55.0-relnotes/index.md +++ b/docs/content/en/news/0.55.0-relnotes/index.md @@ -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. diff --git a/docs/content/en/troubleshooting/faq.md b/docs/content/en/troubleshooting/faq.md index c79f52568..34d42958c 100644 --- a/docs/content/en/troubleshooting/faq.md +++ b/docs/content/en/troubleshooting/faq.md @@ -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: diff --git a/docs/layouts/shortcodes/note.html b/docs/layouts/shortcodes/note.html index fcf081bd5..24d2cd0b2 100644 --- a/docs/layouts/shortcodes/note.html +++ b/docs/layouts/shortcodes/note.html @@ -1,3 +1,4 @@ +{{ $_hugo_config := `{ "version": 1 }` }}