1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Anthony Fok 02da49597d Fix string comparison for .Truncated page variable
Instead of `strings.TrimSpace()`, use `strings.Join(strings.Fields(s), " ")`
to collapse all whitespaces into single spaces, in order to match the
behaviour of helpers.TruncateWordsToWholeSentence(),
in order to detect non-truncated content correctly.
2015-01-20 15:50:32 -07:00
..
2014-12-09 09:43:15 -05:00
2015-01-15 12:21:15 +01:00
2014-12-09 09:43:15 -05:00
2014-12-09 09:43:15 -05:00
2015-01-19 02:40:34 +01:00