Commit 6f8c83f1 authored by BRENT RITCHIE's avatar BRENT RITCHIE
Browse files

Fix spacing

parent 2eca6753
if (process.env.NODE_ENV === "development") {
require("dotenv").config();
require("dotenv").config();
}
module.exports = function (eleventyConfig) {
eleventyConfig.setDataDeepMerge(true);
eleventyConfig.setDataDeepMerge(true);
return {
dir: {
input: "_src",
output: "_site",
includes: "_includes",
data: "_data"
},
return {
dir: {
input: "_src",
output: "_site",
includes: "_includes",
data: "_data"
},
templateFormats: ["html", "njk", "md", "11ty.js"]
};
};
}
# Eleventy Core
A full featured boilerplate that can be used to create Eleventy based sites with best practices out of the box.
\ No newline at end of file
A full featured boilerplate that can be used to create Eleventy based sites with best practices out of the box.
......@@ -28,4 +28,4 @@
{{- content | safe -}}
{%- endblock -%}
</body>
</html>
\ No newline at end of file
</html>
{% extends "layouts/_base.njk" %}
{%- block main -%}
<main>
{%- block content -%}
<main>
{%- block content -%}
{{- content | safe -}}
{%- endblock -%}
{%- endblock -%}
</main>
{%- endblock -%}
......@@ -11,4 +11,4 @@ robots:
{% block content %}
<h1>Home Page</h1>
<p>This is a test paragraph.</p>
{% endblock %}
\ No newline at end of file
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment