Update section to show default post layout for any non-matching layout. Add homepage section example
This commit is contained in:
12
exampleSite/content/homepage/section.md
Normal file
12
exampleSite/content/homepage/section.md
Normal file
@@ -0,0 +1,12 @@
|
||||
+++
|
||||
title = "Homepage Section"
|
||||
cover = "img/hello.jpg"
|
||||
layout = "2col-right"
|
||||
+++
|
||||
|
||||
**Hi there!** This is a section dedicated for a homepage.
|
||||
There are 3 layouts supported for the homepage sections:
|
||||
|
||||
- `2col-right` - The layout for this section with the cover image appearing on the left and the front-matter on the right
|
||||
- `2col-left` - The layout for this section has the cover image on the right and front-matter on the left
|
||||
- `default` - The default layout for the section matching the post layout with the image appearing above the front-matter
|
||||
Reference in New Issue
Block a user