forked from ohayo-jacob/takunomi-blog
changed date format
This commit is contained in:
parent
ca087531e3
commit
a4805942ac
|
@ -20,7 +20,7 @@ type Post struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
const htmlDateLayout = "2006-01-02"
|
const htmlDateLayout = "2006-01-02"
|
||||||
const normalDateLayout = "02 Jan 2006"
|
const normalDateLayout = "02 Jan - 06"
|
||||||
var modTime time.Time
|
var modTime time.Time
|
||||||
|
|
||||||
func newPost(path string, f os.FileInfo, err error) error {
|
func newPost(path string, f os.FileInfo, err error) error {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user