summaryrefslogtreecommitdiffstats
path: root/hugolib/pageGroup_test.go
AgeCommit message (Collapse)Author
2017-02-17all: Refactor to nonglobal Viper, i18n etc.Bjørn Erik Pedersen
This is a final rewrite that removes all the global state in Hugo, which also enables the use if `t.Parallel` in tests. Updates #2701 Fixes #3016
2017-01-07all: Refactor to non-global loggerBjørn Erik Pedersen
Note that this looks like overkill for just the logger, and that is correct, but this will make sense once we start with the template handling etc. Updates #2701
2016-09-12hugolib: Fix typos in testsCameron Moore
2016-06-14hugolib: Add GroupByExpireDate functionHanchen Wang
2016-04-07Re-export the methods used in page group testsBjørn Erik Pedersen
2015-12-10Add copyright header to that source files that don’t have one.Anthony Fok
See #1646
2015-11-10Fix GroupByParam to return original param stringTatsushi Demachi
Page.GroupByParam function internally uses Page.GetParam to get a parameter value for a key of a page group but now Page.GetParam returns a lowercase character string every time. It has no need to using lowercase character string as a group key value and it confuse a function user. This fixes it to keep and return an original parameter string as a group key value. Fix #1564
2014-12-09Fix various Windows-issuesbep
File handling was broken on Windows. This commit contains a revision of the path handling with separation of file paths and urls where needed. There may be remaining issues and there may be better ways to do this, but it is easier to start that refactoring job with a set of passing tests. Fixes #687 Fixes #660
2014-11-13Fix `GroupBy` function issuesTatsushi Demachi
Following issues are fixed 1. Can't access fields and methods specified in GroupBy call 2. PagesGroup doesn't contain Pages. It's always empty. 3. When GroupBy is called with Section key, it doesn't work as expected