From ef3fcf1377ebb1b13bc3cb75c35ccef0337faf99 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 24 Jul 2025 21:40:47 -0600 Subject: Improve post page --- _layouts/default.html | 16 ---------------- _layouts/default.liquid | 16 ++++++++++++++++ _layouts/page.html | 7 ------- _layouts/page.liquid | 7 +++++++ _layouts/post.html | 8 -------- _layouts/post.liquid | 23 +++++++++++++++++++++++ assets/css/styles.css | 4 ++++ 7 files changed, 50 insertions(+), 31 deletions(-) delete mode 100644 _layouts/default.html create mode 100644 _layouts/default.liquid delete mode 100644 _layouts/page.html create mode 100644 _layouts/page.liquid delete mode 100644 _layouts/post.html create mode 100644 _layouts/post.liquid diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 5697ebf..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,16 +0,0 @@ - - - {% include header.liquid %} - - -
-
- {% include top_bar.liquid %} - - {{ content }} - - {% include footer.liquid %} -
-
- - diff --git a/_layouts/default.liquid b/_layouts/default.liquid new file mode 100644 index 0000000..5697ebf --- /dev/null +++ b/_layouts/default.liquid @@ -0,0 +1,16 @@ + + + {% include header.liquid %} + + +
+
+ {% include top_bar.liquid %} + + {{ content }} + + {% include footer.liquid %} +
+
+ + diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index efc43e5..0000000 --- a/_layouts/page.html +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: default ---- - -
- {{ content }} -
diff --git a/_layouts/page.liquid b/_layouts/page.liquid new file mode 100644 index 0000000..efc43e5 --- /dev/null +++ b/_layouts/page.liquid @@ -0,0 +1,7 @@ +--- +layout: default +--- + +
+ {{ content }} +
diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index 17739c5..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,8 +0,0 @@ ---- -layout: default ---- -
- {{ content }} -
- - diff --git a/_layouts/post.liquid b/_layouts/post.liquid new file mode 100644 index 0000000..c635286 --- /dev/null +++ b/_layouts/post.liquid @@ -0,0 +1,23 @@ +--- +layout: default +--- +
+
+
+

+ {{ page.title }} +

+
+
+ {{ page.date | date: "%A %d, %B %Y" }} +
+
+ {% for tag in page.tags %} + + {% endfor %} + {{ content }} +
+ + diff --git a/assets/css/styles.css b/assets/css/styles.css index 9b74f79..49a1976 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -67,6 +67,10 @@ font-size: 18px; } +.post-tag { + font-size: 16px; +} + .mx-12 { margin-left: 2rem; margin-right: 2rem; -- cgit v1.2.3