Standardize on content and not templateContent (per docs)

master
Zach Leatherman 2018-08-01 20:39:57 -05:00
parent 67f9c1be98
commit 47403414ad
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@
<p><em>This is an <a href="https://www.11ty.io/">Eleventy project</a> created from the <a href="https://github.com/11ty/eleventy-base-blog"><code>eleventy-base-blog</code> repo</a>.</em></p>
</div>
{{ layoutContent | safe }}
{{ content | safe }}
</main>
<footer></footer>

View File

@ -2,4 +2,4 @@
layout: layouts/base.njk
templateClass: tmpl-home
---
{{ layoutContent | safe }}
{{ content | safe }}

View File

@ -4,6 +4,6 @@ templateClass: tmpl-post
---
<h1>{{ title }}</h1>
{{ layoutContent | safe }}
{{ content | safe }}
<p><a href="{{ '/' | url }}">← Home</a></p>
<p><a href="{{ '/' | url }}">← Home</a></p>