From 23aa57d806b616caf61ea231de8c27167e29eddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 22 Feb 2020 10:57:43 +0100 Subject: [PATCH 1/2] Fix crashes for 404 in IsAncestor etc. Fixes #6931 --- content/en/readfiles/sectionvars.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/readfiles/sectionvars.md b/content/en/readfiles/sectionvars.md index 698955c02..45aaff1f3 100644 --- a/content/en/readfiles/sectionvars.md +++ b/content/en/readfiles/sectionvars.md @@ -5,13 +5,13 @@ : The page's first section below root, e.g. `/docs`, `/blog` etc. .InSection $anotherPage -: Whether the given page is in the current section. Note that this will always return false for pages that are not either regular, home or section pages. +: Whether the given page is in the current section. .IsAncestor $anotherPage -: Whether the current page is an ancestor of the given page. Note that this method is not relevant for taxonomy lists and taxonomy terms pages. +: Whether the current page is an ancestor of the given page. .IsDescendant $anotherPage -: Whether the current page is a descendant of the given page. Note that this method is not relevant for taxonomy lists and taxonomy terms pages. +: Whether the current page is a descendant of the given page. .Parent : A section's parent section or a page's section. From 9796bb3373479decc3627f693f9597a4a14dad58 Mon Sep 17 00:00:00 2001 From: hugoreleaser Date: Sun, 23 Feb 2020 09:58:31 +0000 Subject: [PATCH 2/2] releaser: Add release notes to /docs for release of 0.65.3 [ci skip] --- content/en/news/0.65.3-relnotes/index.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 content/en/news/0.65.3-relnotes/index.md diff --git a/content/en/news/0.65.3-relnotes/index.md b/content/en/news/0.65.3-relnotes/index.md new file mode 100644 index 000000000..1d47362bb --- /dev/null +++ b/content/en/news/0.65.3-relnotes/index.md @@ -0,0 +1,21 @@ + +--- +date: 2020-02-23 +title: "Hugo 0.65.3: A couple of Bug Fixes" +description: "This version fixes a couple of bugs introduced in 0.65.0." +categories: ["Releases"] +images: +- images/blog/hugo-bug-poster.png + +--- + + + +This is a bug-fix release with a couple of important fixes. + +* Fix panic when home page is drafted [0bd6356c](https://github.com/gohugoio/hugo/commit/0bd6356c6d2a2bac06d0c3705bf13a90cb7a2688) [@bep](https://github.com/bep) [#6927](https://github.com/gohugoio/hugo/issues/6927) +* Fix goldmark toc rendering [ca68abf0](https://github.com/gohugoio/hugo/commit/ca68abf0bc2fa003c2052143218f7b2ab195a46e) [@satotake](https://github.com/satotake) [#6736](https://github.com/gohugoio/hugo/issues/6736)[#6809](https://github.com/gohugoio/hugo/issues/6809) +* Fix crashes for 404 in IsAncestor etc. [a524124b](https://github.com/gohugoio/hugo/commit/a524124beb0e7ca226c207ea48a90cea2cbef76e) [@bep](https://github.com/bep) [#6931](https://github.com/gohugoio/hugo/issues/6931) + + +