Avoid calling strings.Fields multiple times with same content
authorbep <bjorn.erik.pedersen@gmail.com>
Wed, 4 Feb 2015 23:38:50 +0000 (00:38 +0100)
committerbep <bjorn.erik.pedersen@gmail.com>
Wed, 4 Feb 2015 23:38:50 +0000 (00:38 +0100)
commitf8704c1bf23d22530ff417e0f48ee487a167a0f7
tree4d16810e98ac807ebd64f29e3224e4fcb01b8f7b
parent11a19e0760e55c31a8ba11eefe50c2b2b6520257
Avoid calling strings.Fields multiple times with same content

This should be a relief for big sites.
helpers/content.go
hugolib/page.go