Skip to content

{{ "main" }} in layouts.html #139

Answered by h-enk
mshiner asked this question in Support
Feb 18, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey Martyn,

./layouts/index.html is the homepage template.

./content/_index.md is where you add content and front matter to the homepage.

So, when you update the frontmatter (title and lead e.g.) in the latter, it will be parsed by the homepage template and will be reflected in the homepage build.

Hope this clarifies.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mshiner
Comment options

Answer selected by mshiner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants