mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
9d68f695e7
36d7e22f Document fmt.{print, println} template functions 79a72fce Fix link to page variables 00342ca9 Fix broken link on highlight page 15f44952 Fix link in v0.28 release notes 0100df73 Fix code examples for math.{Ceil, Floor, Round} a354a69b Fix broken netlify.toml 4995e5df Merge branch 'master' of github.com:gohugoio/hugoDocs 9cdd990a Hugo 0.29 463558f9 Document math.Log template function 588499af Add nohup.out to .gitignore db8ddcf7 Change name of post files in example to use post prefix 296ec01f Add ox-hugo Emacs package to the tools section f060d6d1 Fix math.Ceil, Floor, and Round naming a2262d24 Document strings.TrimPrefix and TrimSuffix template functions 80c1ce63 Document strings.TrimLeft and TrimRight template functions 2921088d Document urls.Parse template function f0133079 Document math.{ceil, floor, round} template functions 82863808 Fix typo in migration tools section d5215d61 Add link to syntax hl docs in release notes 541f0686 Update versions 275ce2b4 Update 0.28 release notes 886713a1 Add release notes for 0.28 bed02e5f Merge branch 'next' 8e3b1ac4 Add a note about branches 1662b9d0 Add missing Disqus links in templates/internal.md git-subtree-dir: docs git-subtree-split: 36d7e22f5c21c550bd87782d2ddca666178fe1ff
2.2 KiB
2.2 KiB
date: 2017-09-26 title: "Hugo 0.29: Template Metrics" description: "Makes it easy to find template bottle necks." categories: ["Releases"] slug: "0.29-relnotes" images:
- images/blog/hugo-29-poster.png
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