show earliest commit date for page as date published
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M domain/content/posts.go → domain/content/posts.go
@@ -236,7 +236,7 @@ return nil, err } if post.Date.IsZero() && len(cs) > 1 { - post.Date = cs[0].Date + post.Date = cs[len(cs)-1].Date } return post, nil