aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/posts.njk
diff options
context:
space:
mode:
authorindrajith2022-10-01 14:07:36 +0000
committerindrajith2022-10-01 14:07:36 +0000
commit9665f6dcf69b2c4ad15503db638bb2b82e78893a (patch)
treeb8e926cc11720710d62ddc0d2ff2e0a8860171ee /src/_includes/posts.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/_includes/posts.njk')
-rw-r--r--src/_includes/posts.njk14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/_includes/posts.njk b/src/_includes/posts.njk
index 47cbbb6..0245970 100644
--- a/src/_includes/posts.njk
+++ b/src/_includes/posts.njk
@@ -3,23 +3,27 @@
<head>
{% include "./partials/head.njk" %}
</head>
-<body>
+<body class="flex h-screen flex-col font-supply-regular bg-main-cream-white-2">
{% include "./partials/header.njk" %}
<main class="container mx-auto max-w-5xl p-8">
<section class="w-full flex flex-col items-center px-3">
<article class="flex flex-col my-4">
<div class="flex flex-col justify-start p-6 ">
<div>
- <p class="text-3xl bg-rose font-medium text-center">{{title}}</p>
- <p class="text-lg text-gray-500 text-center">{{date | dateFilter}}</p>
+ <p class="text-3xl bg-rose font-medium text-center text-darkish-200">{{title}}</p>
+ <p class="text-lg text-darkish-100 text-center">{{date | dateFilter}}</p>
</div>
- <div class="mt-10 text-xl font-supply-regular text-justify">
+ <div class="mt-10 text-xl font-supply-regular text-justify text-darkish-300">
{{content | safe}}
</div>
</div>
</article>
+ <div class="flex flex-col my-4">
+ <a class="flex flex-col justify-start" href="/posts">back to posts</a>
+ </div>
</section>
- <a href="/posts">back to posts</a>
+
+
</main>
{% include "./partials/footer.njk" %}
</body>