commands: Add basic server test

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-11 09:38:58 +02:00
parent 1e233b1c45
commit a7d00fc39e
3 changed files with 72 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ for rendering in Hugo.`,
return err
}
}
now := time.Now().Format(time.RFC3339)
now := time.Now().Format("2006-01-02")
prepender := func(filename string) string {
name := filepath.Base(filename)
base := strings.TrimSuffix(name, path.Ext(name))