diff --git a/_includes/layouts/page.njk b/_includes/layouts/page.njk new file mode 100644 index 0000000..44515f9 --- /dev/null +++ b/_includes/layouts/page.njk @@ -0,0 +1,7 @@ +--- +layout: base.njk +--- + +
Written by {{ author }}
+ +Posted on
+Updated on
+ +{{ content | safe }} diff --git a/src/posts/posts.11tydata.js b/src/posts/posts.11tydata.js new file mode 100644 index 0000000..5f292f2 --- /dev/null +++ b/src/posts/posts.11tydata.js @@ -0,0 +1,3 @@ +export default { + layout: "post.njk", +}; diff --git a/src/posts/test-post.md b/src/posts/test-post.md index cec86b4..9118b5f 100644 --- a/src/posts/test-post.md +++ b/src/posts/test-post.md @@ -1,7 +1,6 @@ --- title: This is my first blog post author: Lee Cattarin -date: '2026-09-24T10:03:00-07:00' image: src: /chickadee.jpg alt: a chickadee on a fence post diff --git a/src/src.11tydata.js b/src/src.11tydata.js index 6c08224..c5a2e34 100644 --- a/src/src.11tydata.js +++ b/src/src.11tydata.js @@ -1,3 +1,3 @@ export default { - layout: "base.njk", + layout: "page.njk", };