hugo/docs/content
Bjørn Erik Pedersen cafb784799 Add emoji support
This uses the Emoji map from https://github.com/kyokomi/emoji -- but with a custom replacement implementation.

The built-in are fine for most use cases, but in Hugo we do care about pure speed.

The benchmarks below are skewed in Hugo's direction as the source and result is a byte slice,
Kyokomi's implementation works best with strings.

Curious: The easy-to-use `strings.Replacer` is also plenty fast.

```
BenchmarkEmojiKyokomiFprint-4  	   20000	     86038 ns/op	   33960 B/op	     117 allocs/op
BenchmarkEmojiKyokomiSprint-4  	   20000	     83252 ns/op	   38232 B/op	     122 allocs/op
BenchmarkEmojiStringsReplacer-4	  100000	     21092 ns/op	   17248 B/op	      25 allocs/op
BenchmarkHugoEmoji-4           	  500000	      5728 ns/op	     624 B/op	      13 allocs/op
```

Fixes #1891
2016-03-11 15:51:37 -06:00
..
commands Add embeded template for robots.txt 2016-01-05 23:36:16 +01:00
community Update showcase entry and article link to softinio.com 2016-03-11 22:31:59 +01:00
content docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
extras Allow picking a specific file out of a gist 2016-03-11 18:29:07 +01:00
meta Read/reread individual source content files 2016-01-26 14:26:23 -05:00
overview Add emoji support 2016-03-11 15:51:37 -06:00
showcase Update showcase entry and article link to softinio.com 2016-03-11 22:31:59 +01:00
taxonomies docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
templates Add emoji support 2016-03-11 15:51:37 -06:00
themes docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
tools Docs: fix typo in tools section 2016-02-29 21:59:43 +01:00
troubleshooting docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
tutorials Docs: Add missing "-b master" parameter to "git submodule add" command 2016-01-14 01:24:45 -07:00