diff options
Diffstat (limited to 'src/posts')
-rw-r--r-- | src/posts/index.njk | 11 | ||||
-rw-r--r-- | src/posts/posts.json | 1 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/posts/index.njk b/src/posts/index.njk index 9392ce6..1525a26 100644 --- a/src/posts/index.njk +++ b/src/posts/index.njk @@ -3,23 +3,22 @@ layout: base.njk eleventyExcludeFromCollections: true title: Posts --- -<h2 class="text-2xl font-bold text-black p-2">Published Posts</h2> +<h2 class="text-2xl font-bold text-darkish-300 p-2">Published Posts</h2> <div class="post-lists mt-2"> {% for post in collections.posts | reverse %} <div class="post-data"> - <div class="post-date p-2 bg-purple-700 text-white shadow-[5px_5px_0px_0px_rgba(0,0,0,255)]"> + <div class="post-date p-2 bg-darkish-100 text-lightish-50 shadow-[5px_5px_0px_0px_rgba(0,0,0,255)]"> {{post.date | dateFilter}} </div> - <div class="post-title m-4 text-red-600 hover:text-black"> + <div class="post-title m-4 text-lightish-300 hover:text-darkish-300"> <a href="{{post.url}}"> {{post.data.title}}</a> </div> </div> {% else %} - <div class="text-center flex justify-center text-red-600"> + <div class="text-center flex justify-center text-lightish-300"> <span>No Posts </span> <span class="pl-2">¯\_(ツ)_/¯</span> </div> {% endfor %} -</div> - +</div>
\ No newline at end of file diff --git a/src/posts/posts.json b/src/posts/posts.json index 0cb18be..6f7f019 100644 --- a/src/posts/posts.json +++ b/src/posts/posts.json @@ -1,5 +1,4 @@ { "layout": "posts", "tags": "posts" - }
\ No newline at end of file |