Python-hugo

Latest version: v24.1.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 42 of 44

0.18

0.18.0

Today, we’re excited to release the much-anticipated Hugo 0.18!

We’re heading towards the end of the year 2016, and we can look back on three releases and a steady growing community around the project. This release includes **over 220 contributions by nearly 50 contributors** to the main codebase. Since the last release, Hugo has **gained 1750 stars and 27 additional themes**.

Hugo now has:
- 13750+ stars
- 408+ contributors
- 137+ themes

[bep](//github.com/bep) once again took the lead of Hugo and contributed a significant amount of additions. Also a big shoutout to [digitalcraftsman](//github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition, and also a big thanks to [moorereason](//github.com/moorereason) and [bogem](//github.com/bogem) for their contributions.

We wish you all a Merry Christmas and a Happy New Year.
_The Hugo team_

Highlights

The primary new feature in Hugo 0.18 is that every piece of content is now a `Page` ( [2297](//github.com/spf13/hugo/issues/2297) ). This means that every page, including the home page, can have a content file with frontmatter. Not only is this a much simpler model to understand, it is also faster and paved the way for several important new features:
- Enable proper titles for Nodes [1051](//github.com/spf13/hugo/issues/1051)
- Sitemap.xml should include nodes, as well as pages [1303](//github.com/spf13/hugo/issues/1303)
- Document homepage content workaround [2240](//github.com/spf13/hugo/issues/2240)
- Allow home page to be easily authored in markdown [720](//github.com/spf13/hugo/issues/720)
- Minimalist website with homepage as content [330](//github.com/spf13/hugo/issues/330)

Hugo again continues its trend of each release being faster than the last. It’s quite a challenge to consistently add significant new functionality and simultaneously dramatically improve performance. Running [this benchmark](https://github.com/bep/hugo-benchmark) with [these sites](https://github.com/bep/hugo-benchmark/tree/master/sites) (renders to memory) shows about 60% reduction in time spent and 30% reduction in memory usage compared to Hugo 0.17.

Other New Features
- Every `Page` now has a `Kind` property. Since everything is a `Page` now, the `Kind` is used to differentiate different kinds of pages. Possible values are `page`, `home`, `section`, `taxonomy`, and `taxonomyTerm`. (Internally, we also define `RSS`, `sitemap`, `robotsTXT`, and `404`, but those have no practical use for end users at the moment since they are not included in any collections.)
- Add a `GitInfo` object to `Page` if `enableGitInfo` is set. It then also sets `Lastmod` for the given `Page` to the author date provided by Git. [2291](//github.com/spf13/hugo/issues/2291)
- Implement support for alias templates [2533](//github.com/spf13/hugo/issues/2533)
- New template functions:
- Add `imageConfig` function [2677](//github.com/spf13/hugo/issues/2677)
- Add `sha256` function [2762](//github.com/spf13/hugo/issues/2762)
- Add `partialCached` template function [1368](//github.com/spf13/hugo/issues/1368)
- Add shortcode to display Instagram images [2690](//github.com/spf13/hugo/issues/2690)
- Add `noChmod` option to disable perm sync [2749](//github.com/spf13/hugo/issues/2749)
- Add `quiet` build mode [1218](//github.com/spf13/hugo/issues/1218)

Notices
- `.Site.Pages` will now contain _several kinds of pages_, including regular pages, sections, taxonomies, and the home page. If you want a specific kind of page, you can filter it with `where` and `Kind`. `.Site.RegularPages` is a shortcut to the page collection you have been used to getting.
- `RSSlink` is now deprecated. Use `RSSLink` instead. Note that in Hugo 0.17 both of them existed, so there is a fifty-fifty chance you will not have to do anything (if you use a theme, the chance is close to 0), and `RSSlink` will still work for two Hugo versions.

Fixes
- Revise the `base` template lookup logic so it now better matches the behavior of regular templates, making it easier to override the master templates from the theme [2783](//github.com/spf13/hugo/issues/2783)
- Add workaround for `block` template crash. Block templates are very useful, but there is a bug in Go 1.6 and 1.7 which makes the template rendering crash if you use the block template in more complex scenarios. This is fixed in the upcoming Go 1.8, but Hugo adds a temporary workaround in Hugo 0.18. [2549](//github.com/spf13/hugo/issues/2549)
- All the `Params` configurations are now case insensitive [1129](//github.com/spf13/hugo/issues/1129) [2590](//github.com/spf13/hugo/issues/2590) [2615](//github.com/spf13/hugo/issues/2615)
- Make RawContent raw again [2601](//github.com/spf13/hugo/issues/2601)
- Fix archetype title and date handling [2750](//github.com/spf13/hugo/issues/2750)
- Fix TOML archetype parsing in `hugo new` [2745](//github.com/spf13/hugo/issues/2745)
- Fix page sorting when weight is zero [2673](//github.com/spf13/hugo/issues/2673)
- Fix page names that contain dot [2555](//github.com/spf13/hugo/issues/2555)
- Fix RSS Title regression [2645](//github.com/spf13/hugo/issues/2645)
- Handle ToC before handling shortcodes [2433](//github.com/spf13/hugo/issues/2433)
- Only watch relevant themes dir [2602](//github.com/spf13/hugo/issues/2602)
- Hugo new content creates TOML slices with closing bracket on new line [2800](//github.com/spf13/hugo/issues/2800)

Improvements
- Add page information to error logging in rendering [2570](//github.com/spf13/hugo/issues/2570)
- Deprecate `RSSlink` in favor of `RSSLink`
- Make benchmark command more useful [2432](//github.com/spf13/hugo/issues/2432)
- Consolidate the `Param` methods [2590](//github.com/spf13/hugo/issues/2590)
- Allow to set cache dir in config file
- Performance improvements:
- Avoid repeated Viper loads of `sectionPagesMenu` [2728](//github.com/spf13/hugo/issues/2728)
- Avoid reading from Viper for path and URL funcs [2495](//github.com/spf13/hugo/issues/2495)
- Add `partialCached` template function. This can be a significant performance boost if you have complex partials that does not need to be rerendered for every page. [1368](//github.com/spf13/hugo/issues/1368)

Documentation Updates
- Update roadmap [2666](//github.com/spf13/hugo/issues/2666)
- Update multilingual example [2417](//github.com/spf13/hugo/issues/2417)
- Add a “Deployment with rsync” tutorial page [2658](//github.com/spf13/hugo/issues/2658)
- Refactor `/docs` to use the `block` keyword [2226](//github.com/spf13/hugo/issues/2226)

0.17

Thanks to the contribution [2443](https://github.com/spf13/hugo/pull/2443) and guidance from dholbach, Hugo is now available as a Snap package! (Snaps are a new kind of universal Linux packages.) Check it out at https://uappexplorer.com/app/hugo.hugo-authors

Better yet, install the `snapd` package on your Linux distribution, and run `sudo snap install hugo` to install it, and voilà! Available amd64 (x86_64), i386, armhf, arm64 and ppc64el platforms, thanks to the automatic cross-building infrastructure provided on Launchpad.

.deb packages for Debian, Ubuntu, etc.

See https://packages.debian.org/sid/hugo

Currently still at 0.16, 0.17 pending. Thank you for your patience!

RPM package for Fedora (and Mandriva, openSUSE, etc.)

https://copr.fedorainfracloud.org/coprs/spf13/Hugo/

Currently still at 0.16, 0.17 pending. Thank you for your patience!

0.16

0.16.0

Hugo 0.16 is our best and biggest release ever. The Hugo community has outdone itself with continued performance improvements, [beautiful themes](http://themes.gohugo.io) for all types of sites from project sites to documentation to blogs to portfolios, and increased stability.

This release represents **over 550 contributions by over 110 contributors** to the main Hugo codebase. Since last release Hugo has **gained 3500 stars, 90 contributors and 23 additional themes.**

This release celebrates 3 years since [spf13](//github.com/spf13) wrote the first lines of Hugo. During those 3 years Hugo has accomplished some major milestones including…
- 10,000+ stars on GitHub
- 320+ contributors
- 90+ themes
- 1000s of happy websites
- Many subprojects like [spf13/cobra](//github.com/spf13/cobra) , [spf13/viper](//github.com/spf13/viper) and [spf13/afero](//github.com/spf13/afero) which have experienced broad usage across the Go ecosystem.

[bep](//github.com/bep) led the development of Hugo for the 3rd consecutive release with nearly half of the contributions to 0.16 in addition to his considerable contributions as lead maintainer. [anthonyfok](//github.com/anthonyfok) , [DigitalCraftsman](//github.com/DigitalCraftsman) , [MooreReason](//github.com/MooreReason) all made significant contributions. A special thanks to [abourget](//github.com/abourget%20) for his considerable work on multilingual support. Due to its broad impact we wanted to spend more time testing it and it will be included in Hugo’s next release.

Highlights

**Partial Builds:** Prior to this release Hugo would always reread and rebuild the entire site. This release introduces support for reactive site building while watching (`hugo server`). Hugo will watch the filesystem for changes and only re-read the changed files. Depending on the files change Hugo will intelligently re-render only the needed portion of the site. Performance gains depend on the operation performed and size of the site. In our testing build times decreased anywhere from 10% to 99%.

**Template Improvements:** Template improvements continue to be a mainstay of each Hugo release. Hugo 0.16 adds support for the new `block` keyword introduced in Go 1.6 – think base templates with default sections – as well as many new template functions.

**Polish:** As Hugo matures releases will inevitably contain fewer huge new features. This release represents hundreds of small improvements across ever facet of Hugo which will make for a much better experience for all of our users. Worth mentioning here is the curious bug where live reloading didn’t work in some editors on OS X, including the popular TextMate 2. This is now fixed. Oh, and now any error will exit with an error code, a big thing for automated deployments.

New Features
- Support reading configuration variables from the OS environment [2090](//github.com/spf13/hugo/issues/2090)
- Add emoji support [1892](//github.com/spf13/hugo/issues/1892)
- Add `themesDir` option to configuration [1556](//github.com/spf13/hugo/issues/1556)
- Add support for Go 1.6 `block` keyword in templates [1832](//github.com/spf13/hugo/issues/1832)
- Partial static sync [1644](//github.com/spf13/hugo/issues/1644)
- Source file based relative linking (a la Github) [0f6b33](//github.com/spf13/hugo/commit/0f6b334b6715253b030c4e783b88e911b6e53e56)
- Add `ByLastmod` sort function to pages. [eb627ca16de6fb5e8646279edd295a8bf0f72bf1](//github.com/spf13/hugo/issues/eb627ca16de6fb5e8646279edd295a8bf0f72bf1)
- New templates functions:
- `readFile` [1551](//github.com/spf13/hugo/issues/1551)
- `countwords` and `countrunes` [1440](//github.com/spf13/hugo/issues/1440)
- `default` [1943](//github.com/spf13/hugo/issues/1943)
- `hasPrefix` [1243](//github.com/spf13/hugo/issues/1243)
- `humanize` [1818](//github.com/spf13/hugo/issues/1818)
- `jsonify` [435e99](//github.com/spf13/hugo/commit/435e996c4fd48e9009ffa9f83a19fb55f0777dbd)
- `md5` and `sha1` [1932](//github.com/spf13/hugo/issues/1932)
- `replaceRE` [1845](//github.com/spf13/hugo/issues/1845)
- `findRE` [2048](//github.com/spf13/hugo/issues/2048)
- `shuffle` [1942](//github.com/spf13/hugo/issues/1942)
- `slice` [1902](//github.com/spf13/hugo/issues/1902)
- `plainify` [1915](//github.com/spf13/hugo/issues/1915)

Enhancements
- Hugo now exits with error code on any error. This is a big thing for automated deployments. [740](//github.com/spf13/hugo/issues/740)
- Print error when `/index.html` is zero-length [947](//github.com/spf13/hugo/issues/947)
- Enable dirname and filename bash autocompletion for more flags [666ddd](//github.com/spf13/hugo/commit/666ddd237791b56fd048992dca9a27d1af50a10e)
- Improve error handling in commands [1502](//github.com/spf13/hugo/issues/1502)
- Add sanity checks for `hugo import jekyll` [1625](//github.com/spf13/hugo/issues/1625)
- Add description to `Page.Params` [1484](//github.com/spf13/hugo/issues/1484)
- Add async version of Google Analytics internal template [1711](//github.com/spf13/hugo/issues/1711)
- Add autostart option to YouTube shortcode [1784](//github.com/spf13/hugo/issues/1784)
- Set Date and Lastmod for main home page [1903](//github.com/spf13/hugo/issues/1903)
- Allow URL with extension in frontmatter [1923](//github.com/spf13/hugo/issues/1923)
- Add list support in Scratch [eaba04](//github.com/spf13/hugo/commit/eaba04e82bdfc5d4c29e970f11b4aab9cc0efeaa)
- Add file option to gist shortcode [1955](//github.com/spf13/hugo/issues/1955)
- Add config layout and content directory CLI options [1698](//github.com/spf13/hugo/issues/1698)
- Add boolean value comparison to `where` template function [f3c74c](//github.com/spf13/hugo/commit/f3c74c9db484c8961e70cb3458f9e41e7832fa12)
- Do not write to to cache when `ignoreCache` is set [2067](//github.com/spf13/hugo/issues/2067)
- Add option to disable rendering of 404 page [2037](//github.com/spf13/hugo/issues/2037)
- Mercurial is no longer needed to build Hugo [2062](//github.com/spf13/hugo/issues/2062)
- Do not create `robots.txt` by default [2049](//github.com/spf13/hugo/issues/2049)
- Disable syntax guessing for PygmentsCodeFences by default. To enable syntax guessing again, add the following to your config file: `PygmentsCodeFencesGuessSyntax = true` [2034](//github.com/spf13/hugo/issues/2034)
- Make `ByCount` sort consistently [1930](//github.com/spf13/hugo/issues/1930)
- Add `Scratch` to shortcode [2000](//github.com/spf13/hugo/issues/2000)
- Add support for symbolic links for content, layout, static, theme [1855](//github.com/spf13/hugo/issues/1855)
- Add ‘+’ as one of the valid characters in URLs specified in the front matter [1290](//github.com/spf13/hugo/issues/1290)
- Make alias redirect output URLs relative when `RelativeURLs = true` [2093](//github.com/spf13/hugo/issues/2093)
- Hugo injects meta generator tag on homepage if missing [2182](//github.com/spf13/hugo/issues/2182)

Fixes
- Fix file change watcher for TextMate 2 and friends on OS X [1053](//github.com/spf13/hugo/issues/1053)
- Make dynamic reloading of config file reliable on all platform [1684](//github.com/spf13/hugo/issues/1684)
- Hugo now works on Linux/arm64 [1772](//github.com/spf13/hugo/issues/1772)
- `plainIDAnchors` now defaults to `true` [2057](//github.com/spf13/hugo/issues/2057)
- Win32 and ARM builds fixed [1716](//github.com/spf13/hugo/issues/1716)
- Copy static dir files without theme’s static dir [1656](//github.com/spf13/hugo/issues/1656)
- Make `noTimes` command flag work [1657](//github.com/spf13/hugo/issues/1657)
- Change most global CLI flags into local ones [1624](//github.com/spf13/hugo/issues/1624)
- Remove transformation of menu URLs [1239](//github.com/spf13/hugo/issues/1239)
- Do not fail on unknown Jekyll file [1705](//github.com/spf13/hugo/issues/1705)
- Use absolute path when editing with editor [1589](//github.com/spf13/hugo/issues/1589)
- Fix hugo server “Watching for changes” path display [1721](//github.com/spf13/hugo/issues/1721)
- Do not strip special characters out of URLs [1292](//github.com/spf13/hugo/issues/1292)
- Fix `RSSLink` when uglyurls are enabled [175](//github.com/spf13/hugo/issues/175)
- Get BaseURL from viper in server mode [1821](//github.com/spf13/hugo/issues/1821)
- Fix shortcode handling in RST [1904](//github.com/spf13/hugo/issues/1904)
- Use default sitemap configuration for homepage [1304](//github.com/spf13/hugo/issues/1304)
- Exit if specific port is unavailable in server mode [1901](//github.com/spf13/hugo/issues/1901)
- Fix regression in “section menus for lazy blogger” [2065](//github.com/spf13/hugo/issues/2065)

.deb packages for Debian, Ubuntu, etc.

Hugo has become part of the official Debian and Ubuntu repositories since January 2016!
Check out the following download links in Debian and Ubuntu:
- Debian: https://packages.debian.org/sid/hugo
- Ubuntu: http://packages.ubuntu.com/yakkety/hugo (awaiting sync from Debian as of 2016-06-12)

And, if you are already running the latest cutting-edge version of Debian or Ubuntu, simply run `apt-get install hugo` to get it! :smile:

Or download the .deb files provided below (amd64, arm64, armhf, i386, ppc64, ppc64el are currently available, hopefully more coming soon). For Raspberry Pi users running Raspbian and alike, the file you want is [hugo_0.16-1_armhf.deb](https://github.com/spf13/hugo/releases/download/v0.16/hugo_0.16-1_armhf.deb).

_Note: The .deb file sizes are smaller than other alternative downloads because the `/usr/bin/hugo` contained therein were stripped of debug symbols as per Debian policy.

RPM package for Fedora (and Mandriva, openSUSE, etc.)

jdoss has kindly uploaded and built the Hugo .rpm packages to the Fedora Copr.<sup>1</sup> Please visit https://copr.fedorainfracloud.org/coprs/spf13/Hugo/ to get them.

Alternatively, you may download [hugo-0.16-2.el6.x86_64.rpm](https://github.com/spf13/hugo/releases/download/v0.16/hugo-0.16-2.el6.x86_64.rpm) below (fetched from https://copr-be.cloud.fedoraproject.org/results/spf13/Hugo/epel-6-x86_64/00341389-hugo/hugo-0.16-2.el6.x86_64.rpm) which should work on all flavors of RPM-based distributions running on x86_64 (amd64).

---

_1. Copr, pronounced like "copper", means "Cool Other Package Repositories" according to the Fedora Copr FAQ._

0.15

The v0.15.0 Hugo release brings a lot of polish to Hugo. Exactly 6 months after the 0.14 release, Hugo has seen massive growth and changes. Most notably, this is Hugo's first release under the Apache 2.0 license. With this license change we hope to expand the great community around Hugo and make it easier for our many users to contribute. This release represents over **377 contributions by 87 contributors** to the main Hugo repo and hundreds of improvements to the libraries Hugo uses. Hugo also launched a [new theme showcase](http://themes.gohugo.io) and participated in [Hacktoberfest](https://hacktoberfest.digitalocean.com).

Hugo now has:
- 6700 (+2700) stars on GitHub
- 235 (+75) contributors
- 65 (+30) themes

**Template Improvements:** This release takes Hugo to a new level of speed and usability. Considerable work has been done adding features and performance to the template system which now has full support of Ace, Amber and Go Templates.

**Hugo Import:** Have a Jekyll site, but dreaming of porting it to Hugo? This release introduces a new `hugo import jekyll`command that makes this easier than ever.

**Performance Improvements:** Just when you thought Hugo couldn't get any faster, Hugo continues to improve in speed while adding features. Notably Hugo 0.15 introduces the ability to render and serve directly from memory resulting in 30%+ lower render times.

Huge thanks to all who participated in this release. A special thanks to [bep](https://github.com/bep) who led the development of Hugo this release again, [anthonyfok](https://github.com/anthonyfok), [eparis](https://github.com/eparis), [tatsushid](https://github.com/tatsushid) and [DigitalCraftsman](https://github.com/digitalcraftsman/).

New features
- new `hugo import jekyll` command. [1469](https://github.com/spf13/hugo/pull/1469)
- The new `Param` convenience method on `Page` and `Node` can be used to get the most specific parameter value for a given key. [1462](https://github.com/spf13/hugo/issues/1462)
- Several new information elements have been added to `Page` and `Node`:
- `RuneCount`: The number of [runes](http://blog.golang.org/strings) in the content, excluding any whitespace. This may be a good alternative to `.WordCount` for Japanese and other CJK languages where a word-split by spaces makes no sense. [#1266](https://github.com/spf13/hugo/issues/1266)
- `RawContent`: Raw Markdown as a string. One use case may be of embedding remarkjs.com slides.
- `IsHome`: tells the truth about whether you're on the home page or not.

Improvements
- `hugo server` now builds ~30%+ faster by rendering to memory instead of disk. To get the old behavior, start the server with `--renderToDisk=true`.
- Hugo now supports dynamic reloading of the config file when watching.
- We now use a custom-built `LazyFileReader` for reading file contents, which means we don't read media files in `/content` into memory anymore -- and file reading is now performed in parallel on multicore PCs. [1181](https://github.com/spf13/hugo/issues/1181)
- Hugo is now built with `Go 1.5` which, among many other improvements, have fixed the last known data race in Hugo. [917](https://github.com/spf13/hugo/issues/917)
- Paginator now also supports page groups. [1274](https://github.com/spf13/hugo/issues/1274)
- Markdown improvements:
- Hugo now supports GitHub-flavoured markdown code fences for highlighting for `md`-files (Blackfriday rendered markdown) and `mmark` files (MMark rendered markdown). [362](https://github.com/spf13/hugo/issues/362) [#1258](https://github.com/spf13/hugo/issues/1258)
- Several new Blackfriday options are added:
- Option to disable Blackfriday's `Smartypants`.
- Option for Blackfriday to open links in a new window/tab. [1220](https://github.com/spf13/hugo/issues/1220)
- Option to disable Blackfriday's LaTeX style dashes [1231](https://github.com/spf13/hugo/issues/1231)
- Definition lists extension support.
- `Scratch` now has built-in `map` support.
- We now fall back to `link title` for the default page sort. [1299](https://github.com/spf13/hugo/issues/1299)
- Some notable new configuration options:
- `IgnoreFiles` can be set with a list of Regular Expressions that matches files to be ignored during build. [1189](https://github.com/spf13/hugo/issues/1189)
- `PreserveTaxonomyNames`, when set to `true`, will preserve what you type as the taxonomy name both in the folders created and the taxonomy `key`, but it will be normalized for the URL. [1180](https://github.com/spf13/hugo/issues/1180)
- `hugo gen` can now generate man files, bash auto complete and markdown documentation
- Hugo will now make suggestions when a command is mistyped
- Shortcodes now have a boolean `.IsNamedParams` property. [1597](https://github.com/spf13/hugo/pull/1597)

New Template Features
- All template engines:
- The new `dict` function that could be used to pass maps into a template. [1463](https://github.com/spf13/hugo/pull/1463)
- The new `pluralize` and `singularize` template funcs.
- The new `base64Decode` and `base64Encode` template funcs.
- The `sort` template func now accepts field/key chaining arguments and pointer values. [1330](https://github.com/spf13/hugo/issues/1330)
- Several fixes for `slicestr` and `substr`, most importantly, they now have full `utf-8`-support. [1190](https://github.com/spf13/hugo/issues/1190) [#1333](https://github.com/spf13/hugo/issues/1333) [#1347](https://github.com/spf13/hugo/issues/1347)
- The new `last` template function allows the user to select the last `N` items of a slice. [1148](https://github.com/spf13/hugo/issues/1148)
- The new `after` func allows the user to select the items after the `Nth` item. [1200](https://github.com/spf13/hugo/pull/1200)
- Add `time.Time` type support to the `where`, `ge`, `gt`, `le`, and `lt` template functions.
- It is now possible to use constructs like `where Values ".Param.key" nil` to filter pages that doesn't have a particular parameter. [1232](https://github.com/spf13/hugo/issues/1232)
- `getJSON`/`getCSV`: Add retry on invalid content. [1166](https://github.com/spf13/hugo/issues/1166)
- The new `readDir` func lists local files. [1204](https://github.com/spf13/hugo/pull/1204)
- The new `safeJS` function allows the embedding of content into JavaScript contexts in Go templates.
- Get the main site RSS link from any page by accessing the `.Site.RSSLink` property. [1566](https://github.com/spf13/hugo/pull/1566)
- Ace templates:
- Base templates now also works in themes. [1215](https://github.com/spf13/hugo/issues/1215).
- And now also on Windows. [1178](https://github.com/spf13/hugo/issues/1178)
- Full support for Amber templates including all template functions.
- A built-in template for Google Analytics. [1505](https://github.com/spf13/hugo/pull/1505)
- Hugo is now shipped with new built-in shortcodes: [1576](https://github.com/spf13/hugo/issues/1576)
- `youtube` for YouTube videos
- `vimeo` for Vimeo videos
- `gist` for GitHub gists
- `tweet` for Twitter Tweets
- `speakerdeck` for Speakerdeck slides

Bugfixes
- Fix data races in page sorting and page reversal. These operations are now also cached. [1293](https://github.com/spf13/hugo/issues/1293)
- `page.HasMenuCurrent()` and `node.HasMenuCurrent()` now work correctly in multi-level nested menus.
- Support `Fish and Chips` style section titles. Previously, this would end up as `Fish And Chips`. Now, the first character is made toupper, but the rest are preserved as-is. [1176](https://github.com/spf13/hugo/issues/1176)
- Hugo now removes superfluous p-tags around shortcodes. [1148](https://github.com/spf13/hugo/issues/1148)

Notices
- `hugo server` will watch by default now.
- Some fields and methods were deprecated in `0.14`. These are now removed, so the error message isn't as friendly if you still use the old values. So please change:
- `getJson` to `getJSON`, `getCsv` to `getCSV`, `safeHtml` to
`safeHTML`, `safeCss` to `safeCSS`, `safeUrl` to `safeURL`, `Url` to `URL`,
`UrlPath` to `URLPath`, `BaseUrl` to `BaseURL`, `Recent` to `Pages`.

Known Issues

Using the Hugo v0.15 32-bit Windows or ARM binary, running `hugo server` would crash or hang due to a [memory alignment issue](https://golang.org/pkg/sync/atomic/#pkg-note-BUG) in [Afero](https://github.com/spf13/afero). The bug was discovered shortly after the v0.15.0 release and has since been [fixed](https://github.com/spf13/afero/pull/23) by tpng. If you encounter this bug, you may either compile Hugo v0.16-DEV from source, or use the following solution/workaround:
- **64-bit Windows users: Please use [hugo_0.15_windows_amd64.zip](https://github.com/spf13/hugo/releases/download/v0.15/hugo_0.15_windows_amd64.zip)** (amd64 == x86-64). It is only the 32-bit hugo_0.15_windows_386.zip that crashes/hangs (see #1621 and 1628).
- **32-bit Windows and ARM users: Please run `hugo server --renderToDisk` as a workaround** until Hugo v0.16 is released (see [“hugo server” returns runtime error on armhf](https://discuss.gohugo.io/t/hugo-server-returns-runtime-error-on-armhf/2293) and #1716).

Page 42 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.