Skip to content

Commit

Permalink
configure layouts folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ooloth committed Jun 7, 2023
1 parent d6d3ac8 commit 64905f5
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ module.exports = function (eleventyConfig) {
input: 'src', // default: "."
includes: '_includes', // relative to input dir
data: '_data', // relative to input dir
layouts: '_includes/layouts', // relative to input dir
output: '_site', // relative to root
},

Expand Down
2 changes: 1 addition & 1 deletion src/404.webc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: layouts/main.webc
layout: main.webc
permalink: 404.html
eleventyExcludeFromCollections: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/layouts/main.webc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: layouts/root.webc
layout: root.webc
---

<site-header></site-header>
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/layouts/post.webc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: layouts/main.webc
layout: main.webc
---

<!--
Expand Down
2 changes: 1 addition & 1 deletion src/about/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: layouts/main.webc
layout: main.webc
---

# About Me
Expand Down
2 changes: 1 addition & 1 deletion src/blog.webc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: layouts/main.webc
layout: main.webc
---

<h1>Blog</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/index.webc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: layouts/main.webc
layout: main.webc
numberOfLatestPostsToShow: 3
---

Expand Down
2 changes: 1 addition & 1 deletion src/notes.webc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: layouts/main.webc
layout: main.webc
---

<h1>Notes</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/tags-list.webc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
permalink: /tags/
layout: layouts/main.webc
layout: main.webc
---

<h1>Tags</h1>
Expand Down

0 comments on commit 64905f5

Please sign in to comment.