Add {{ content }} to home layout (#1775)

* Add `{{ content }}` to `home` layout

Allow the author to add content which will appear above the list of
recent posts. This also allows the `home` layout to be extended.

Add text to index.html in tests to indicate that the content appears in
the correct spot.

* Add paragraph markup

Since this is a HTML file, proper paragraph markup is needed.
This commit is contained in:
Mark Crossfield
2018-08-09 14:23:57 +01:00
committed by Michael Rose
parent 0adebd240f
commit 26e3864478
2 changed files with 4 additions and 0 deletions

View File

@@ -2,3 +2,5 @@
layout: home
author_profile: true
---
<p>This text should appear above the recent posts.</p>