Update section to show default post layout for any non-matching layout. Add homepage section example

This commit is contained in:
Justin Nguyen
2021-01-14 16:28:31 -08:00
parent 8136be7dea
commit 1b08c1579e
3 changed files with 32 additions and 21 deletions

View 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