1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
bep bec4bdae99 Return error on wrong use of the Paginator
`Paginate`now returns error when

1) `.Paginate` is called after `.Paginator`
2) `.Paginate` is repeatedly called with different arguments

This should help remove some confusion.

This commit also introduces DistinctErrorLogger, to prevent spamming the log for duplicate rendering errors from the pagers.

Fixes #993
2015-03-31 22:33:17 +02:00
..
2015-03-07 00:10:00 +01:00
2015-02-01 22:30:57 +01:00
2015-03-29 22:27:21 +02:00
2015-03-18 12:23:13 +01:00
2015-03-07 12:53:20 +01:00
2015-03-18 11:30:37 +01:00
2015-03-18 11:30:37 +01:00
2015-03-18 11:30:37 +01:00
2014-12-09 09:43:15 -05:00
2015-01-28 18:02:40 -07:00
2015-01-31 22:01:30 +01:00
2015-01-31 22:01:30 +01:00
2015-03-29 22:27:21 +02:00
2015-03-05 23:57:38 +01:00
2015-03-05 23:57:38 +01:00