Hugo 0.26: Language Style Edition
This release brings a choice of AP Style or Chicago Style Title Case (8fb594bf #989). You can also now configure Blackfriday to render « French Guillemets » (cb9dfc26 #3725). To enable French Guillemets, put this in your site config.toml
:
[blackfriday]
angledQuotes = true
smartypantsQuotesNBSP = true
Oh, and this release also fixes it so you should see no ugly long crashes no more when you step wrong in your templates (794ea21e).
Hugo 0.26
represents 46 contributions by 11 contributors to the main Hugo code base.
@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @anthonyfok, @jorinvo, and @digitalcraftsman for their ongoing contributions. And as always a big thanks to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 838 contributions by 30 contributors. A special thanks to @rdwatters, @bep, @digitalcraftsman, and @budparr for their work on the documentation site.
This may look like a Waiting Sausage, a barbecue term used in Norway for that sausage you eat while waiting for the steak to get ready. And it is: We’re working on bigger and even more interesting changes behind the scenes. Stay tuned!
Hugo now has:
- 18802+ stars
- 457+ contributors
- 175+ themes
Notes
sourceRelativeLinks
has been deprecated for a while and has now been removed. 9891c0fb @bep #3766- The
title
template function and taxonomy page titles now default to following the AP Stylebook for title casing. To override this default to use the old behavior, settitleCaseStyle
toGo
in your site configuration. 8fb594bf @bep #989
Enhancements
Templates
- Use hash for cache key 6cd33f69 @RealOrangeOne #3690
- Add some empty slice tests to intersect e0cf2e05 @bep #3686
Core
- Support
reflinks
starting with a slash dbe63970 @bep #3703 - Make template panics into nice error messages 794ea21e @bep
Other
- Make the
title
case style guide configurable 8fb594bf @bep #989 - Add support for French Guillemets cb9dfc26 @bep #3725
- Add support for French Guillemets c4a0b6e8 @bep #3725
- Switch from fork bep/inflect to markbates/inflect 09907d36 @jorinvo
- Remove unused dependencies from vendor.json 9b4170ce @jorinvo
- Add
--debug
option to be improved on over time aee2b067 @maxandersen - Reduce Docker image size from 277MB to 27MB bfe0bfbb @ellerbrock #3730#3738
- Optimize Docker image size 606d6a8c @ellerbrock #3674
- Add
--trace
to asciidoctor args b60aa1a5 @miltador #3714 - Add script to pull in docs changes ff433f98 @bep
- Add
HasShortcode
deccc540 @bep #3707 - Improve the twitter card template 00b590d7 @bep #3711
- Add
GOEXE
to support building with different versions ofgo
ea5e9e34 @mdhender
Fixes
Templates
- Fix intersect on
[]interface{}
handling 55d0b894 @moorereason #3718
Other
Улучшить эту страницу