hugo/hugolib
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
..
author.go
benchmark_test.go
datafiles_test.go Pull Data Files tests into its own file 2015-03-19 17:23:14 +01:00
handler_base.go
handler_file.go
handler_meta.go
handler_page.go Fix shortcode handling in ToC 2015-03-29 22:27:21 +02:00
hugo.go Refactor Hugo version 2015-03-18 12:23:13 +01:00
media.go
menu.go More initialism corrections (golint) 2015-03-18 11:30:37 +01:00
menu_test.go More initialism corrections (golint) 2015-03-18 11:30:37 +01:00
node.go Add UrlPath to the deprecated list 2015-03-18 11:30:37 +01:00
page.go More initialism corrections (golint) 2015-03-18 11:30:37 +01:00
page_permalink_test.go More initialism corrections (golint) 2015-03-18 11:30:37 +01:00
page_taxonomy_test.go
page_test.go
page_time_integration_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go Return error on wrong use of the Paginator 2015-03-31 22:33:17 +02:00
pagination_test.go Return error on wrong use of the Paginator 2015-03-31 22:33:17 +02:00
path_separators_test.go
path_separators_windows_test.go
permalinks.go More initialism corrections (golint) 2015-03-18 11:30:37 +01:00
permalinks_test.go
planner.go
redis.cn.md
rss_test.go
scratch.go
scratch_test.go
shortcode.go Fix shortcode handling in ToC 2015-03-29 22:27:21 +02:00
shortcode_test.go
shortcodeparser.go
shortcodeparser_test.go
site.go Return error on wrong use of the Paginator 2015-03-31 22:33:17 +02:00
site_show_plan_test.go
site_test.go Pull Data Files tests into its own file 2015-03-19 17:23:14 +01:00
site_url_test.go
siteinfo_test.go
sitemap.go
sitemap_test.go Change safeHTtml to safeHTML in sitemap template 2015-03-18 21:27:29 +01:00
summary.go
taxonomy.go
taxonomy_test.go