Hugo 0.29: Template Metrics
Hugo 0.29
brings Template Metrics by @moorereason. Hugo is very fast, but it is still possible to write ineffective templates. Now these should be easy to identify. Just run:
hugo --templateMetrics
Now, that was the tasty carrot. The real reason this release comes so fast after the last one is to change the default value for the new noHTTPCache
flag, which gives away too much performance to make sense as a default value.
Hugo now has:
- 19817+ stars
- 454+ contributors
- 180+ themes
Notes
Enhancements
Templates
- Add simple template metrics feature b4a14c25 @moorereason
- Set Metrics at creation time b5e1dc58 @bep
- Fix sort order d3681f51 @bep
- Add math.Ceil, Floor, and Round to method mappings 8a69d235 @moorereason
Other
Последнее обновление: October 21, 2019
Улучшить эту страницу
Улучшить эту страницу