Standardize on content and not templateContent (per docs)
This commit is contained in:
parent
67f9c1be98
commit
47403414ad
@ -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>
|
<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>
|
</div>
|
||||||
|
|
||||||
{{ layoutContent | safe }}
|
{{ content | safe }}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer></footer>
|
<footer></footer>
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
layout: layouts/base.njk
|
layout: layouts/base.njk
|
||||||
templateClass: tmpl-home
|
templateClass: tmpl-home
|
||||||
---
|
---
|
||||||
{{ layoutContent | safe }}
|
{{ content | safe }}
|
||||||
|
@ -4,6 +4,6 @@ templateClass: tmpl-post
|
|||||||
---
|
---
|
||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
|
|
||||||
{{ layoutContent | safe }}
|
{{ content | safe }}
|
||||||
|
|
||||||
<p><a href="{{ '/' | url }}">← Home</a></p>
|
<p><a href="{{ '/' | url }}">← Home</a></p>
|
Loading…
Reference in New Issue
Block a user