hugo/helpers
Bjørn Erik Pedersen bcd434794a Avoid splitting words for summary
For people using autogenerated summaries, this is one of the hot spots in the memory department.

We don't need to split al the content into words to do proper summary truncation.

This is obviously more effective:

```
BenchmarkTestTruncateWordsToWholeSentence-4            300000          4720 ns/op           0 B/op           0 allocs/op
BenchmarkTestTruncateWordsToWholeSentenceOld-4         100000         17699 ns/op        3072 B/op           3 allocs/op
```
2016-09-14 10:50:55 +02:00
..
configProvider.go Make it possible to configure Blackfroday per language 2016-09-06 18:32:17 +03:00
content.go Avoid splitting words for summary 2016-09-14 10:50:55 +02:00
content_renderer.go Add TODO list support for Blackfriday 2016-09-09 13:08:20 +02:00
content_renderer_test.go Add TODO list support for Blackfriday 2016-09-09 13:08:20 +02:00
content_test.go Avoid splitting words for summary 2016-09-14 10:50:55 +02:00
emoji.go
emoji_test.go
general.go Reset the i18n func map on reload 2016-09-08 17:18:11 +03:00
general_test.go
hugo.go Make it the DEV version 2016-09-06 23:20:59 +03:00
hugo_test.go
language.go Add Language.LanguageName 2016-09-12 20:59:03 +02:00
path.go Replace some leftover os.Stat with hugofs.Source 2016-09-11 20:00:38 +02:00
path_test.go Handle symlink change event 2016-09-11 20:00:38 +02:00
pygments.go
pygments_test.go
url.go helpers: Improve the language prefix logic 2016-09-13 23:44:16 +02:00
url_test.go helpers: Avoid adding language prefix if already present 2016-09-13 21:37:27 +02:00