diff --git a/_config.yml b/_config.yml index c87a61e..5306e02 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1,5 @@ -theme: minima \ No newline at end of file +theme: minima +collections: + my_posts: + output: true + permalink: /:collection/:path/ \ No newline at end of file diff --git a/_my_posts/test1.md b/_my_posts/test1.md new file mode 100644 index 0000000..e69de29 diff --git a/_my_posts/test2.md b/_my_posts/test2.md new file mode 100644 index 0000000..e69de29 diff --git a/blog.html b/blog.html index 7a5c6ce..51b4284 100644 --- a/blog.html +++ b/blog.html @@ -1,4 +1,35 @@ - +--- +title: My Blog +--- + +
+ {% for post in site.my_posts %} + +

{{ post.title }}

+

{{ post.excerpt }}

+ {{ post.date | date_to_string }} + Blog Image +
+ + + {% endfor %} +
+ + + + \ No newline at end of file