generated from inherentlee/11ty
put index page on it's own special layout
This commit is contained in:
5
_includes/layouts/index.njk
Normal file
5
_includes/layouts/index.njk
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
layout: page.njk
|
||||
---
|
||||
|
||||
{{ content | safe }}
|
||||
13
src/index.md
13
src/index.md
@ -5,6 +5,7 @@ hero:
|
||||
alt: chickadee
|
||||
title: null
|
||||
___mb_schema: /.mattrbld/schemas/page.json
|
||||
layout: index.njk
|
||||
---
|
||||
## Here’s an h2
|
||||
|
||||
@ -13,9 +14,9 @@ This is a paragraph.
|
||||
This is another paragraph. It might be a bit longer.
|
||||
|
||||
- Here’s a list.
|
||||
|
||||
|
||||
- It’s nice, the editor automatically turns dashes into lists
|
||||
|
||||
|
||||
|
||||
And I can double-enter to get out of the list.
|
||||
|
||||
@ -36,13 +37,13 @@ Let’s add a link. Here’s my [website](https://leecat.art). They let you choo
|
||||
## Let’s do more with lists
|
||||
|
||||
1. Here’s an ordered list
|
||||
|
||||
|
||||
1. it has a nested ordered list inside of it!
|
||||
|
||||
|
||||
2. How fancy.
|
||||
|
||||
|
||||
2. You can of course tab and shift+tab to change your list level.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user