all repos — homestead @ e3e3ce1f038ddcbc185ea58af8fa93a1945eebb4

Code for my website

show earliest commit date for page as date published

Alan Pearce
commit

e3e3ce1f038ddcbc185ea58af8fa93a1945eebb4

parent

adeeeb0c7d611fc9e005b9bfbd15039160699a10

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M domain/content/posts.godomain/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