diff --git a/eleventy.config.js b/eleventy.config.js
index d780aec..6ca9490 100644
--- a/eleventy.config.js
+++ b/eleventy.config.js
@@ -30,9 +30,7 @@ export default async function (eleventyConfig) {
// --------------------- layout aliases
eleventyConfig.addLayoutAlias('base', 'base.njk');
- eleventyConfig.addLayoutAlias('home', 'home.njk');
eleventyConfig.addLayoutAlias('page', 'page.njk');
- eleventyConfig.addLayoutAlias('blog', 'blog.njk');
eleventyConfig.addLayoutAlias('post', 'post.njk');
eleventyConfig.addLayoutAlias('tags', 'tags.njk');
@@ -45,7 +43,7 @@ export default async function (eleventyConfig) {
eleventyConfig.addPlugin(plugins.htmlConfig);
eleventyConfig.addPlugin(plugins.cssConfig);
eleventyConfig.addPlugin(plugins.jsConfig);
- eleventyConfig.addPlugin(plugins.drafts);
+ eleventyConfig.addPlugin(plugins.drafts);
eleventyConfig.addPlugin(plugins.EleventyRenderPlugin);
eleventyConfig.addPlugin(plugins.rss);
diff --git a/src/_layouts/home.njk b/src/_layouts/home.njk
deleted file mode 100644
index 8f4b284..0000000
--- a/src/_layouts/home.njk
+++ /dev/null
@@ -1,41 +0,0 @@
----
-layout: base
----
-
-
-
-
-
{{ title }}
-
-
- {% svg "divider/waves", null, "seperator" %}
-
-
-
- {{ content | safe }}
-
-
-
-
-
{{ blog.title }}
-
-
- {% if blog.intro %}
-
{{ blog.intro }}
- {% endif %}
-
-
-
-
- {% set itemList = collections.allPosts %}
- {% asyncEach item in itemList.slice(0, 4) %}
- {% set definedDate = item.date %}
-
- {% include "partials/card-blog.njk" %}
-
- {% endeach %}
-
-
-
-
-
diff --git a/src/pages/blog.md b/src/pages/blog.md
deleted file mode 100644
index f1b6d89..0000000
--- a/src/pages/blog.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-title: Blog
-description: 'All blog posts can be found here'
-layout: blog
-pagination:
- data: collections.allPosts
- size: 6
-permalink: 'blog/{% if pagination.pageNumber >=1 %}page-{{ pagination.pageNumber + 1 }}/{% endif %}index.html'
----
-
-This blog has a pagination of **{{ pagination.size }}** posts per page.
-The pagination is only shown if there are more posts ({{ collections.posts.length }}) than items per page ({{ pagination.size }}).
diff --git a/src/_layouts/blog.njk b/src/pages/blog.njk
similarity index 58%
rename from src/_layouts/blog.njk
rename to src/pages/blog.njk
index c2110c7..0be46ac 100644
--- a/src/_layouts/blog.njk
+++ b/src/pages/blog.njk
@@ -1,5 +1,11 @@
---
layout: base
+title: Blog
+description: 'All blog posts can be found here'
+pagination:
+ data: collections.allPosts
+ size: 6
+permalink: 'blog/{% if pagination.pageNumber >=1 %}page-{{ pagination.pageNumber + 1 }}/{% endif %}index.html'
---
@@ -11,16 +17,19 @@ layout: base
{% svg "divider/edgy", null, "seperator" %}
- {{ content | safe }}
+
+
This blog has a pagination of {{ pagination.size }} posts per page.
+ The pagination is only shown if there are more posts ({{ collections.posts.length }}) than items per
+ page ({{ pagination.size }}).
+
+
+ {% asyncEach item in pagination.items %}
+ {% set definedDate = item.date %}
- {% asyncEach item in pagination.items %}
- {% set definedDate = item.date %}
-
- {% include "partials/card-blog.njk" %}
- {% endeach %}
-
+ {% include "partials/card-blog.njk" %}
+ {% endeach %}
diff --git a/src/pages/index.md b/src/pages/index.md
deleted file mode 100644
index d6079e3..0000000
--- a/src/pages/index.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-permalink: /index.html
-title: 'Eleventy Excellent'
-description: 'Eleventy starter using modern CSS, fluid type, fluid spacing, flexible layout and progressive enhancement.'
-layout: 'home'
-blog:
- title: 'Blog'
- intro: "I'm showing the last 4 blog posts, but there might be more!"
----
-
-## An Eleventy starter
-
-Built around a CSS workflow that emphasizes guiding browser styling rather than micromanaging it. It incorporates progressive enhancement, fluid type and spacing, and utilizes modern CSS features for layout. The goal is to develop frontends that provide a great experience across all devices, connection speeds, and usage contexts.
-
-**This is version 3.**
-I keep a [branch of v1](https://github.com/madrilene/eleventy-excellent/tree/v1) and [v2](https://github.com/madrilene/eleventy-excellent/tree/v2) because I have changed a lot of things.
-I have tried to [document](/get-started/#docs-lol) most features and methodologies.
-
-**Have fun** and let me know if you find any issues or have ideas for improvements!
-
diff --git a/src/pages/index.njk b/src/pages/index.njk
new file mode 100644
index 0000000..02310c8
--- /dev/null
+++ b/src/pages/index.njk
@@ -0,0 +1,61 @@
+---
+layout: base
+permalink: /index.html
+title: 'Eleventy Excellent'
+description: 'Eleventy starter using modern CSS, fluid type, fluid spacing, flexible layout and progressive enhancement.'
+blog:
+ title: 'Blog'
+ intro: "I'm showing the last 4 blog posts, but there might be more!"
+---
+
+
+
+
+
{{ title }}
+
+
+ {% svg "divider/waves", null, "seperator" %}
+
+
+
+
+
An Eleventy starter
+
+ Built around a CSS workflow that emphasizes guiding browser styling rather than micromanaging it. It
+ incorporates progressive enhancement, fluid type and spacing, and utilizes modern CSS features for
+ layout. The goal is to develop frontends that provide a great experience across all devices,
+ connection speeds, and usage contexts.
+
+
+ This is version 3. I keep a
+ branch of v1 and
+ v2 because I have changed a lot
+ of things. I have tried to document most features and
+ methodologies.
+
+
Have fun and let me know if you find any issues or have ideas for improvements!
+
+
+
+
+
+
{{ blog.title }}
+
+
+ {% if blog.intro %}
+
{{ blog.intro }}
+ {% endif %}
+
+
+
+
+ {% set itemList = collections.allPosts %}
+ {% asyncEach item in itemList.slice(0, 4) %}
+ {% set definedDate = item.date %}
+ {% include "partials/card-blog.njk" %}
+ {% endeach %}
+
+
+
+
+