diff --git a/_defaults/posts.md b/_defaults/posts.md index cf88955..09cd03d 100644 --- a/_defaults/posts.md +++ b/_defaults/posts.md @@ -1,7 +1,7 @@ --- layout: default.liquid - title: First Post +description: Description is_draft: true --- diff --git a/_layouts/blog.liquid b/_layouts/blog.liquid new file mode 100644 index 0000000..ebcc5d5 --- /dev/null +++ b/_layouts/blog.liquid @@ -0,0 +1,29 @@ + + + + + + + + + + {{ page.title }} + + + {% include "navigation.liquid" %} +
+
+ {{ page.content }} + {% for post in collections.posts.pages %} +

+ 🔗 + {{ post.title }} + {{post.published_date}} +

+

{{post.description}}

+ {% endfor %} +
+
+ {% include "footer.liquid" %} + + diff --git a/blog.md b/blog.md index 6d294e5..b23b02f 100644 --- a/blog.md +++ b/blog.md @@ -1,9 +1,5 @@ --- -layout: default.liquid +layout: blog.liquid permalink: /blog --- # {{page.title}} - -{% for post in collections.posts.pages %} -### [{{ post.title }}](/{{ post.permalink }}) -{% endfor %} diff --git a/posts/formatting-test.md b/posts/2022-03-05-formatting-test.md similarity index 98% rename from posts/formatting-test.md rename to posts/2022-03-05-formatting-test.md index 9429037..45c641e 100644 --- a/posts/formatting-test.md +++ b/posts/2022-03-05-formatting-test.md @@ -1,5 +1,7 @@ --- title: Formatting Test +description: Page to test formatting and CSS +published_date: "2022-03-05 20:51:17 +0000" layout: default.liquid is_draft: false ---