diff --git a/src/includes/partials/posts-item.njk b/src/includes/partials/posts-item.njk new file mode 100644 index 0000000..e69de29 diff --git a/src/includes/partials/posts-list.njk b/src/includes/partials/posts-list.njk new file mode 100644 index 0000000..4878fa3 --- /dev/null +++ b/src/includes/partials/posts-list.njk @@ -0,0 +1,15 @@ +
+ {%- for item in collections.post -%} +
+

+ {{ item.data.title }} +

+

+ {{ item.data.date }} +

+

+ {{ item.data.page.excerpt }} +

+
+ {%- endfor -%} +
diff --git a/src/pages/posts.njk b/src/pages/posts.njk new file mode 100644 index 0000000..0307c02 --- /dev/null +++ b/src/pages/posts.njk @@ -0,0 +1,7 @@ +--- +layout: base +title: Posts +permalink: /posts/ +--- + +{% include "partials/posts-list.njk" %} \ No newline at end of file