Skip to content

Commit c06981b

Browse files
add layout: default to front matter
Signed-off-by: Chris Cummer <[email protected]>
1 parent 91ac7f6 commit c06981b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/page.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (page *Page) CreatedMonth() time.Month {
9191
// FrontMatter returns the front-matter of the page
9292
func (page *Page) FrontMatter() string {
9393
return fmt.Sprintf(
94-
"---\ndate: %s\ntitle: %s\ntags: %s\n---\n\n",
94+
"---\nlayout: default\ndate: %s\ntitle: %s\ntags: %s\n---\n\n",
9595
page.Date,
9696
page.Title,
9797
page.TagsStr,

0 commit comments

Comments
 (0)