mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
fix zero date
This commit is contained in:
@@ -159,7 +159,6 @@ func newPage(filename string) *Page {
|
||||
Params: make(map[string]interface{})}
|
||||
|
||||
jww.DEBUG.Println("Reading from", page.File.FileName)
|
||||
page.Date, _ = time.Parse("20060102", "20080101")
|
||||
page.guessSection()
|
||||
return &page
|
||||
}
|
||||
|
Reference in New Issue
Block a user