From 4195aa8d8f0c3f665ffa199351e69ea063b94ada Mon Sep 17 00:00:00 2001 From: Cyper Date: Thu, 21 Aug 2025 01:08:50 -0400 Subject: [PATCH] chore: Progress sync for the night --- public/css/posts.css | 25 ++++++++++++++++++++++ src/post/post-1.md | 4 +++- src/post/post-10.md | 2 ++ src/post/post-11.md | 2 ++ src/post/post-12.md | 2 ++ src/post/post-2.md | 2 ++ src/post/post-3.md | 2 ++ src/post/post-4.md | 2 ++ src/post/post-5.md | 2 ++ src/post/post-6.md | 2 ++ src/post/post-7.md | 2 ++ src/post/post-8.md | 2 ++ src/post/post-9.md | 2 ++ src/posts.liquid | 50 ++++++++++++++++++++++++++------------------ 14 files changed, 80 insertions(+), 21 deletions(-) create mode 100644 public/css/posts.css diff --git a/public/css/posts.css b/public/css/posts.css new file mode 100644 index 0000000..8af0758 --- /dev/null +++ b/public/css/posts.css @@ -0,0 +1,25 @@ +.mb-2 { + margin-bottom: 2rem; +} + +.posts { + display: grid; + grid-template-columns: 1fr; + grid-template-rows: 1fr; + grid-column-gap: 2rem; + grid-row-gap: 2rem; +} +.posts > div { + width: 100%; +} +.post-card > img { + width: 100%; + object-fit: cover; + object-position: center; +} + +@media (min-width: 992px) { + .posts { + grid-template-columns: repeat(2, 1fr); + } +} \ No newline at end of file diff --git a/src/post/post-1.md b/src/post/post-1.md index e3eb3d5..2fb82e6 100644 --- a/src/post/post-1.md +++ b/src/post/post-1.md @@ -1,5 +1,7 @@ --- -title: Example post 11111 +title: Example post 1 +date: 2025-08-01 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- First post! Content change \ No newline at end of file diff --git a/src/post/post-10.md b/src/post/post-10.md index 7b4b485..610cd43 100644 --- a/src/post/post-10.md +++ b/src/post/post-10.md @@ -1,5 +1,7 @@ --- title: Example post 10 +date: 2025-08-10 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-11.md b/src/post/post-11.md index 1bc900a..5b98856 100644 --- a/src/post/post-11.md +++ b/src/post/post-11.md @@ -1,5 +1,7 @@ --- title: Example post 3 +date: 2025-08-11 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-12.md b/src/post/post-12.md index afcefaf..4719b33 100644 --- a/src/post/post-12.md +++ b/src/post/post-12.md @@ -1,5 +1,7 @@ --- title: Example post 12 +date: 2025-08-12 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-2.md b/src/post/post-2.md index 6e68bd9..5646c34 100644 --- a/src/post/post-2.md +++ b/src/post/post-2.md @@ -1,5 +1,7 @@ --- title: Example post 2 - for Paz +date: 2025-08-02 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-3.md b/src/post/post-3.md index 1bc900a..6daa3ad 100644 --- a/src/post/post-3.md +++ b/src/post/post-3.md @@ -1,5 +1,7 @@ --- title: Example post 3 +date: 2025-08-03 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-4.md b/src/post/post-4.md index a9cd763..f5753ac 100644 --- a/src/post/post-4.md +++ b/src/post/post-4.md @@ -1,5 +1,7 @@ --- title: Example post 4 +date: 2025-08-04 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-5.md b/src/post/post-5.md index 8ace9ec..87fb8f8 100644 --- a/src/post/post-5.md +++ b/src/post/post-5.md @@ -1,5 +1,7 @@ --- title: Example post 5 +date: 2025-08-05 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-6.md b/src/post/post-6.md index 8453f18..90b1772 100644 --- a/src/post/post-6.md +++ b/src/post/post-6.md @@ -1,5 +1,7 @@ --- title: Example post 6 +date: 2025-08-06 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-7.md b/src/post/post-7.md index 938485f..20214c5 100644 --- a/src/post/post-7.md +++ b/src/post/post-7.md @@ -1,5 +1,7 @@ --- title: Example post 7 +date: 2025-08-07 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-8.md b/src/post/post-8.md index 202914f..d2b1242 100644 --- a/src/post/post-8.md +++ b/src/post/post-8.md @@ -1,5 +1,7 @@ --- title: Example post 8 +date: 2025-08-08 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/post/post-9.md b/src/post/post-9.md index cd316fb..ca5a124 100644 --- a/src/post/post-9.md +++ b/src/post/post-9.md @@ -1,5 +1,7 @@ --- title: Example post 9 +date: 2025-08-09 +thumbnail: https://dummyimage.com/1280x720/fff/aaa --- Second post! \ No newline at end of file diff --git a/src/posts.liquid b/src/posts.liquid index 70da2d1..34a7df8 100644 --- a/src/posts.liquid +++ b/src/posts.liquid @@ -7,31 +7,41 @@ pagination: permalink: "/posts{% if pagination.pageNumber != 0 %}/{{ pagination.pageNumber }}{% endif %}/" layout: layout.liquid title: Posts +css: posts.css --- -
-

All Posts

-
-
- +
+
+ \ No newline at end of file