commit 5c21b9370933e3eef846102035ae6b9063918182 Author: Erin Nova Date: Wed Apr 27 12:42:40 2022 -0400 Initialize cobalt site diff --git a/_cobalt.yml b/_cobalt.yml new file mode 100644 index 0000000..7bf3e02 --- /dev/null +++ b/_cobalt.yml @@ -0,0 +1,7 @@ + +site: + title: cobalt blog + description: Blog Posts Go Here + base_url: http://example.com +posts: + rss: rss.xml diff --git a/_defaults/pages.md b/_defaults/pages.md new file mode 100644 index 0000000..ad063cb --- /dev/null +++ b/_defaults/pages.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid +--- +## Blog! + +{% for post in collections.posts.pages %} +#### {{post.title}} + +[{{ post.title }}]({{ post.permalink }}) +{% endfor %} diff --git a/_defaults/posts.md b/_defaults/posts.md new file mode 100644 index 0000000..cf88955 --- /dev/null +++ b/_defaults/posts.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid + +title: First Post +is_draft: true +--- + +# This is our first Post! + +Welcome to the first post ever on cobalt.rs! diff --git a/_layouts/default.liquid b/_layouts/default.liquid new file mode 100644 index 0000000..8b79e63 --- /dev/null +++ b/_layouts/default.liquid @@ -0,0 +1,13 @@ + + + + + {{ page.title }} + + +
+

{{ page.title }}

+ {{ page.content }} +
+ + diff --git a/index.md b/index.md new file mode 100644 index 0000000..ad063cb --- /dev/null +++ b/index.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid +--- +## Blog! + +{% for post in collections.posts.pages %} +#### {{post.title}} + +[{{ post.title }}]({{ post.permalink }}) +{% endfor %} diff --git a/posts/post-1.md b/posts/post-1.md new file mode 100644 index 0000000..cf88955 --- /dev/null +++ b/posts/post-1.md @@ -0,0 +1,10 @@ +--- +layout: default.liquid + +title: First Post +is_draft: true +--- + +# This is our first Post! + +Welcome to the first post ever on cobalt.rs!