From 088c87bcb58be576308da503d4f11a68843c5013 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Mon, 1 Jul 2024 16:23:43 -0400 Subject: Initial new commit --- _layouts/all_posts.html | 12 ++++++++++++ _layouts/default.html | 16 ++++++++++++++++ _layouts/home.html | 14 ++++++++++++++ _layouts/page.html | 7 +++++++ _layouts/post.html | 8 ++++++++ 5 files changed, 57 insertions(+) create mode 100644 _layouts/all_posts.html create mode 100644 _layouts/default.html create mode 100644 _layouts/home.html create mode 100644 _layouts/page.html create mode 100644 _layouts/post.html (limited to '_layouts') diff --git a/_layouts/all_posts.html b/_layouts/all_posts.html new file mode 100644 index 0000000..182a2d0 --- /dev/null +++ b/_layouts/all_posts.html @@ -0,0 +1,12 @@ +--- +layout: default +--- + +

{{ page.title }}

+ +{{ content }} + +{% for post in site.posts %} + {{ post.date | date: "%B %-d, %Y" }}
{{ post.title }}

+{% endfor %} + diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..f969a9d --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,16 @@ + + + + {%- include head.html -%} + + +
+ {%- include header.html -%} +
+ {{ content }} +
+ {%- include footer.html -%} +
+ + + diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 0000000..5fea726 --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,14 @@ +--- +layout: default +--- + +{{ content }} + +{% for post in site.posts limit:5 %} +
+

{{ post.title }}

+ + {{ post.excerpt }} +
+{% endfor %} + diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..80476ae --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +

{{ page.title }}

+ +{{ content }} diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..50545e8 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,8 @@ +--- +layout: default +--- + +

{{ page.title }}

+

{{ page.date | date: "%B %-d, %Y" }}

+ +{{ content }} -- cgit v1.2.3-54-g00ecf