mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
committed by
Bjørn Erik Pedersen
parent
f2946da9e8
commit
e77ca3c105
@@ -20,6 +20,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/gohugoio/hugo/common/htime"
|
||||
"github.com/gohugoio/hugo/helpers"
|
||||
|
||||
"github.com/gohugoio/hugo/source"
|
||||
@@ -70,7 +71,7 @@ func (f ContentFactory) ApplyArchetypeTemplate(w io.Writer, p page.Page, archety
|
||||
|
||||
d := &archetypeFileData{
|
||||
Type: archetypeKind,
|
||||
Date: time.Now().Format(time.RFC3339),
|
||||
Date: htime.Now().Format(time.RFC3339),
|
||||
Page: p,
|
||||
File: p.File(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user