From 615cc99bdfa5ed32ef4f44fdc6c31697d75ebd1d Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 7 Jun 2025 21:34:10 -0600 Subject: Add new theme --- _layouts/default.liquid | 10 ++++------ _layouts/page.liquid | 21 ++++++++++++++++++++ _layouts/post.liquid | 47 ++++++++++++++------------------------------- _layouts/tag_archive.html | 11 +++++++++++ _layouts/tag_archive.liquid | 25 ++++++++++++++++++++++++ 5 files changed, 75 insertions(+), 39 deletions(-) create mode 100644 _layouts/page.liquid create mode 100644 _layouts/tag_archive.html create mode 100644 _layouts/tag_archive.liquid (limited to '_layouts') diff --git a/_layouts/default.liquid b/_layouts/default.liquid index 84caa4d..63bc1d2 100644 --- a/_layouts/default.liquid +++ b/_layouts/default.liquid @@ -1,16 +1,14 @@ {% include header.liquid %} -
- -
+
+
+
{% include banner.liquid %}
-
+
{{ content }}
-
- {% include footer.liquid %}
diff --git a/_layouts/page.liquid b/_layouts/page.liquid new file mode 100644 index 0000000..80680f5 --- /dev/null +++ b/_layouts/page.liquid @@ -0,0 +1,21 @@ +{% include header.liquid %} + + +
+
+
+ {% include banner.liquid %} +
+ +
+
+
+ {% include page_header.liquid %} +
+ {{ content }} +
+
+
+
+
+ diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 8e3adbe..aacce19 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -1,44 +1,25 @@ {% include header.liquid %} -
- {% include banner.liquid %} +
+
+
+ {% include banner.liquid %} +
-
-
+
-

- - {{ page.title }} - -

-
-
- {% capture month%}{{ page.date | date: "%b" }}{% endcapture %}{{ page.date | date: "%d-%m-%Y" }} - - - -
-
- {% for tag in page.tags %} - {{ tag }}{% unless forloop.last %},{% endunless %} - {% endfor %} - - - -
+
+ {% include page_header.liquid %} + {% include tags.liquid date=page.date tags=page.tags %} +
+ {{ content }} +
+
+ {% include navigation_buttons.liquid %}
-
-
- {{ content }} -
-
- {% include navigation_buttons.liquid %}
-
- {% include footer.liquid %} -
diff --git a/_layouts/tag_archive.html b/_layouts/tag_archive.html new file mode 100644 index 0000000..2aec49d --- /dev/null +++ b/_layouts/tag_archive.html @@ -0,0 +1,11 @@ +{% include header.liquid %} + +

Archive of posts with {{ page.type }} '{{ page.title }}'

+
    + {% for post in page.posts %} +
  • + + {{ post.title }} +
  • + {% endfor %} +
diff --git a/_layouts/tag_archive.liquid b/_layouts/tag_archive.liquid new file mode 100644 index 0000000..6e74c70 --- /dev/null +++ b/_layouts/tag_archive.liquid @@ -0,0 +1,25 @@ +{% include header.liquid %} + + +
+
+
+
+ {% include banner.liquid %} +
+
+

+ {{ page.title }} +

+
+
+
+ {% for post in page.posts %} + {% include post_summary.liquid post=post %} + {% endfor %} +
+
+
+
+
+ -- cgit v1.2.3