diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..85ccf3c --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,6 @@ ++++ +title = "Perfectly Sane Blog" +sort_by = "date" +template = "blog.html" +page_template = "blog-page.html" ++++ diff --git a/content/blog/test.md b/content/blog/test.md new file mode 100644 index 0000000..fd589f3 --- /dev/null +++ b/content/blog/test.md @@ -0,0 +1,6 @@ ++++ +title = "Test Post" +date = 2022-03-28 ++++ + +It's nearly April, already? diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..6ba9a5c --- /dev/null +++ b/templates/base.html @@ -0,0 +1,17 @@ + + + +
+ +{{ page.date }}
+{{ page.content | safe }} +{% endblock content %} diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..0316a1b --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block content %} +