index.md (5354B)
1 --- 2 date: 2015-02-22T04:10:06Z 3 description: "Hugo 0.13 is the largest Hugo release to date. The release introduced some long sought after features (pagination, sequencing, data loading, tons of template improvements) as well as major internal improvements. In addition to the code changes, the Hugo community has grown significantly and now has over 3000 stars on GitHub, 134 contributors, 24 themes and 1000s of happy users." 4 title: "Hugo 0.13" 5 categories: ["Releases"] 6 --- 7 8 The v0.13.0 release is the largest Hugo release to date. The release introduced 9 some long sought after features (pagination, sequencing, data loading, tons of 10 template improvements) as well as major internal improvements. In addition to 11 the code changes, the Hugo community has grown significantly and now has over 12 3000 stars on GitHub, 134 contributors, 24 themes and 1000s of happy users. 13 14 This release represents **448 contributions by 65 contributors** 15 16 A special shout out to [@bep](https://github.com/bep) and 17 [@anthonyfok](https://github.com/anthonyfok) for their new role as Hugo 18 maintainers and their tremendous contributions this release. 19 20 ### New major features 21 - Support for [data files](http://gohugo.io/extras/datafiles/) in [YAML](http://yaml.org/), 22 [JSON](http://www.json.org/), or [TOML](https://github.com/toml-lang/toml) 23 located in the `data` directory ([#885](https://github.com/spf13/hugo/issues/885)) 24 - Support for [dynamic content](http://gohugo.io/extras/dynamiccontent/) by loading JSON & CSV 25 from remote sources via GetJson and GetCsv in short codes or other layout 26 files ([#748](https://github.com/spf13/hugo/issues/748)) 27 - [Pagination support](http://gohugo.io/extras/pagination/) for home page, sections and 28 taxonomies ([#750](https://github.com/spf13/hugo/issues/750)) 29 - Universal sequencing support 30 - A new, generic Next/Prev functionality is added to all lists of pages 31 (sections, taxonomies, etc.) 32 - Add in-section [Next/Prev](http://gohugo.io/templates/variables/) content pointers 33 - `Scratch` -- [a "scratchpad"](http://gohugo.io/extras/scratch) for your node- and page-scoped 34 variables 35 - [Cross Reference](http://gohugo.io/extras/crossreferences/) support to easily link documents 36 together with the ref and relref shortcodes. 37 - [Ace](http://ace.yoss.si/) template engine support ([#541](https://github.com/spf13/hugo/pull/541)) 38 - A new [shortcode](http://gohugo.io/extras/shortcodes/) token of `{{</* */>}}` (raw HTML) 39 alongside the existing `{{%/* */%}}` (Markdown) 40 - A top level `Hugo` variable (on Page & Node) is added with various build 41 information 42 - Several new ways to order and group content: 43 - `ByPublishDate` 44 - `GroupByPublishDate(format, order)` 45 - `GroupByParam(key, order)` 46 - `GroupByParamDate(key, format, order)` 47 - Hugo has undergone a major refactoring, with a new handler system and a 48 generic file system. This sounds and is technical, but will pave the way for 49 new features and make Hugo even speedier 50 51 ### Notable enhancements to existing features 52 - The [shortcode](http://gohugo.io/extras/shortcodes/) handling is rewritten for speed and 53 better error messages. 54 - Several improvements to the [template functions](http://gohugo.io/templates/functions/): 55 - `where` is now even more powerful and accepts SQL-like syntax with the 56 operators `==`, `eq`; `!=`, `<>`, `ne`; `>=`, `ge`; `>`, `gt`; `<=`, 57 `le`; `<`, `lt`; `in`, `not in` 58 - `where` template function now also accepts dot chaining key argument 59 (e.g. `"Params.foo.bar"`) 60 - New template functions: 61 - `apply` 62 - `chomp` 63 - `delimit` 64 - `sort` 65 - `markdownify` 66 - `in` and `intersect` 67 - `trim` 68 - `replace` 69 - `dateFormat` 70 - Several [configurable improvements related to Markdown 71 rendering](http://gohugo.io/overview/configuration/#configure-blackfriday-rendering:a66b35d20295cb764719ac8bd35837ec): 72 - Configuration of footnote rendering 73 - Optional support for smart angled quotes, e.g. `"Hugo"` → «Hugo» 74 - Enable descriptive header IDs 75 - URLs in XML output is now correctly canonified ([#725](https://github.com/spf13/hugo/issues/725), [#728](https://github.com/spf13/hugo/issues/728), and part 76 of [#789](https://github.com/spf13/hugo/issues/789)) 77 78 ### Other improvements 79 - Internal change to use byte buffer pool significantly lowering memory usage 80 and providing measurable performance improvements overall 81 - Changes to docs: 82 - A new [Troubleshooting](http://gohugo.io/troubleshooting/overview/) section is added 83 - It's now searchable through Google Custom Search ([#753](https://github.com/spf13/hugo/issues/753)) 84 - Some new great tutorials: 85 - [Automated deployments with 86 Wercker](http://gohugo.io/tutorials/automated-deployments/) 87 - [Creating a new theme](http://gohugo.io/tutorials/creating-a-new-theme/) 88 - [`hugo new`](http://gohugo.io/content/archetypes/) now copies the content in addition to the front matter 89 - Improved unit test coverage 90 - Fixed a lot of Windows-related path issues 91 - Improved error messages for template and rendering errors 92 - Enabled soft LiveReload of CSS and images ([#490](https://github.com/spf13/hugo/pull/490)) 93 - Various fixes in RSS feed generation ([#789](https://github.com/spf13/hugo/issues/789)) 94 - `HasMenuCurrent` and `IsMenuCurrent` is now supported on Nodes 95 - A bunch of [bug fixes](https://github.com/spf13/hugo/commits/master)