Moves warning message to _includes/base.njk, adds a home link to posts

This commit is contained in:
Zach Leatherman
2018-01-25 23:36:31 -06:00
parent 545f203d33
commit afedb08c02
3 changed files with 11 additions and 9 deletions

View File

@ -19,6 +19,15 @@
</header>
<main{% if templateClass %} class="{{ templateClass }}"{% endif %}>
<div class="warning">
<ol>
<li>Edit the <code>_data/metadata.json</code> with your blogs information.</li>
<li>(Optional) Edit <code>.eleventy.js</code> with your configuration preferences.</li>
<li>Delete this message from <code>_includes/base.njk</code>.</li>
</ol>
<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 }}
</main>