shithub: hugo

ref: e627449c0a2f1d2ffac29357c4f1832fc5462870
dir: /docs/content/en/news/0.40.2-relnotes/index.md/

View raw version

---
date: 2018-04-30
title: "Hugo 0.40.2: Two Bug fixes"
description: "Fixes some regressions introduced in 0.40."
categories: ["Releases"]
images:
- images/blog/hugo-bug-poster.png

---

This release fixes some regressions introduced in Hugo `0.40`. See the [milestone](https://github.com/gohugoio/hugo/milestone/62?closed=1) for an issue list.

* Reset .Page.Scratch on live-reload [655983a2](https://github.com/gohugoio/hugo/commit/655983a22dc35b2ee5119dcc4acb9918498d2d68) [@bep](https://github.com/bep) [#4683](https://github.com/gohugoio/hugo/issues/4683)
* Fix .WordCount, .FuzzyWordCount, .ReadingTime when summary marker is set [001a28c2](https://github.com/gohugoio/hugo/commit/001a28c2f9ed121b33df18fe792859ab378784c6) [@bep](https://github.com/bep) [#4675](https://github.com/gohugoio/hugo/issues/4675)[#4682](https://github.com/gohugoio/hugo/issues/4682)