From f52b040ee126ec0c48f1d273681a860fe7814314 Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Sat, 12 Mar 2016 00:27:34 -0600 Subject: [PATCH] docs: Draft of 0.16 release notes Also included is an enhancement to the gh shortcode to support sending commit hashes by prepending "0x" to the hash. --- docs/content/meta/release-notes.md | 63 +++++++++++++++++++++++++++++- docs/layouts/shortcodes/gh.html | 2 + 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/docs/content/meta/release-notes.md b/docs/content/meta/release-notes.md index 1c8ec004..563a1498 100644 --- a/docs/content/meta/release-notes.md +++ b/docs/content/meta/release-notes.md @@ -2,7 +2,7 @@ aliases: - /doc/release-notes/ - /meta/release-notes/ -lastmod: 2015-12-19 +lastmod: 2016-03-12 date: 2013-07-01 menu: main: @@ -11,6 +11,67 @@ title: Release Notes weight: 10 --- +## **0.16.0** TBD + +Hugo now has: + +* 8700 (+2000) stars on GitHub +* 284 (+50) contributors +* 77 (+10) themes + +### New Features + +* Add emoji support {{}} +* Add `themesDir` option to configuration {{}} +* Add support for Go 1.6 `block` keyword in templates {{}} +* Partial static sync {{}} +* Source file based relative linking (a la Github) {{}} +* Templates functions: + * Add `countwords` and `countrunes` template funcs {{}} + * Add `default` template function {{}} + * Add `hasPrefix` template function {{}} + * Add `humanize` template function {{}} + * Add `jsonify` template function {{}} + * Add `md5` and `sha1` template functions {{}} + * Add `replaceRE` template function {{}} + * Add `shuffle` template function {{}} + * Add `slice` template function {{}} + +### Enhancements + +* Print error when `/index.html` is zero-length {{}} +* Enable dirname and filename bash autocompletion for more flags {{}} +* Improve error handling in commands {{}} +* Add sanity checks for `hugo import jekyll` {{}} +* Add description to `Page.Params` {{}} +* Add async version of Google Analytics internal template {{}} +* Add autostart option to YouTube shortcode {{}} +* Set Date and Lastmod for main home page {{}} +* Allow URL with extension in frontmatter {{}} +* Add list support in Scratch {{}} +* Add file option to gist shortcode {{}} +* Add config layout and content directory CLI options {{}} +* Add boolean value comparison to `where` template function {{}} + +### Fixes + +* Win32 and ARM builds fixed {{}} +* Copy static dir files without theme's static dir {{}} +* Make `noTimes` command flag work {{}} +* Change most global CLI flags into local ones {{}} +* Remove transformation of menu URLs {{}} +* Do not fail on unknown Jekyll file {{}} +* Use absolute path when editing with editor {{}} +* Fix hugo server "Watching for changes" path display {{}} +* Do not strip special characters out of URLs {{}} +* Fix `RSSLink` when uglyurls are enabled {{}} +* Do not call `watchConfig` when not in watch mode {{}} +* Get BaseURL from viper in server mode {{}} +* Fix shortcode handling in RST {{}} +* Use default sitemap configuration for homepage {{}} +* Exit if specific port is unavailable in server mode {{}} + + ## **0.15.0** November 25, 2015 The v0.15.0 Hugo release brings a lot of polish to Hugo. Exactly 6 months after diff --git a/docs/layouts/shortcodes/gh.html b/docs/layouts/shortcodes/gh.html index 0d3022e7..2ff240a2 100644 --- a/docs/layouts/shortcodes/gh.html +++ b/docs/layouts/shortcodes/gh.html @@ -1,6 +1,8 @@ {{ range .Params }} {{ if eq (substr . 0 1) "@" }} {{ . }} +{{ else if eq (substr . 0 2) "0x" }} +{{ substr . 2 6 }} {{ else }} #{{ . }} {{ end }} -- 2.30.2