aboutsummaryrefslogtreecommitdiff
path: root/src/posts/index.njk
diff options
context:
space:
mode:
authorindrajith2022-10-01 14:07:36 +0000
committerindrajith2022-10-01 14:07:36 +0000
commit9665f6dcf69b2c4ad15503db638bb2b82e78893a (patch)
treeb8e926cc11720710d62ddc0d2ff2e0a8860171ee /src/posts/index.njk
parent98e0a1608cee0ae07da475aee3436846b2b109d9 (diff)
parentbb50c7e11835154576c6f7a2a40cf2aaee6f4c60 (diff)
downloadindrajith-dev-9665f6dcf69b2c4ad15503db638bb2b82e78893a.tar.gz
indrajith-dev-9665f6dcf69b2c4ad15503db638bb2b82e78893a.tar.bz2
indrajith-dev-9665f6dcf69b2c4ad15503db638bb2b82e78893a.zip
Merge pull request 'Theming & Page Changes' (#1) from feature/theming into master
Reviewed-on: https://git.indrajith.dev/indrajith/indrajith.dev/pulls/1
Diffstat (limited to 'src/posts/index.njk')
-rw-r--r--src/posts/index.njk11
1 files changed, 5 insertions, 6 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