.ByPublishDate and .GroupByPublishDate if .PublishDate not defined


#1

Is it possible to use for sorting and grouping .Date value if the .PublishDate is not defined?

Blanks:

{{ range .Data.Pages.GroupByPublishDate "2006-01" }}
{{ range .Data.Pages.ByPublishDate }}