From 7bc33e9815001f96ef6b22c507cf9bf2194ec684 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sun, 26 May 2024 08:33:15 -0400 Subject: Static placement of minima theme, minor customizations --- _layouts/all_posts.html | 61 +++++++++++++++++++++++++++++++++++++++++++++++ _layouts/base.html | 20 ++++++++++++++++ _layouts/home.html | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ _layouts/page.html | 14 +++++++++++ _layouts/post.html | 38 +++++++++++++++++++++++++++++ 5 files changed, 196 insertions(+) create mode 100644 _layouts/all_posts.html create mode 100644 _layouts/base.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..c81df2f --- /dev/null +++ b/_layouts/all_posts.html @@ -0,0 +1,61 @@ +--- +layout: base +--- + +
+ {%- if page.title -%} +

{{ page.title }}

+ {%- endif -%} + + {{ content }} + + + {% if site.paginate %} + {% assign posts = paginator.posts %} + {% else %} + {% assign posts = site.posts %} + {% endif %} + + + {%- if posts.size > 0 -%} + {%- if page.list_title -%} +

{{ page.list_title }}

+ {%- endif -%} + + + {% if site.paginate %} +
+ +
+ {%- endif %} + + {%- endif -%} + +
diff --git a/_layouts/base.html b/_layouts/base.html new file mode 100644 index 0000000..58e141b --- /dev/null +++ b/_layouts/base.html @@ -0,0 +1,20 @@ + + + + {%- 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..34dc79b --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,63 @@ +--- +layout: base +--- + +
+ {%- if page.title -%} +

{{ page.title }}

+ {%- endif -%} + + {{ content }} + + + {% if site.paginate %} + {% assign posts = paginator.posts %} + {% else %} + {% assign posts = site.posts %} + {% endif %} + + + {%- if posts.size > 0 -%} + {%- if page.list_title -%} +

{{ page.list_title }}

+ {%- endif -%} + + + {% if site.paginate %} +
+ +
+ {%- endif %} + + See All Posts → + + {%- endif -%} + +
diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..18544b4 --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,14 @@ +--- +layout: base +--- +
+ +
+

{{ page.title | escape }}

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

{{ page.title | escape }}

+ +
+ +
+ {{ content }} +
+ + {%- if site.disqus.shortname -%} + {%- include disqus_comments.html -%} + {%- endif -%} + + +
-- cgit v1.2.3-54-g00ecf