diff options
author | Indrajith K L | 2022-08-28 00:41:33 +0530 |
---|---|---|
committer | Indrajith K L | 2022-08-28 00:41:33 +0530 |
commit | 191fb0c0aa31a5142f81ea6f7fcf253b10f0297c (patch) | |
tree | 019ad6000e0be1e01779a962b42ce437e84aaed9 /src/_includes/posts.njk | |
parent | 7524f9aa94368d28250813a4e3bad965d178aa7c (diff) | |
download | indrajith-dev-191fb0c0aa31a5142f81ea6f7fcf253b10f0297c.tar.gz indrajith-dev-191fb0c0aa31a5142f81ea6f7fcf253b10f0297c.tar.bz2 indrajith-dev-191fb0c0aa31a5142f81ea6f7fcf253b10f0297c.zip |
* Project Restructred
* Adds Tailwind
* Completed Intro Page, About, Posts Listing
* Changes build and development scripts
Diffstat (limited to 'src/_includes/posts.njk')
-rw-r--r-- | src/_includes/posts.njk | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/src/_includes/posts.njk b/src/_includes/posts.njk index 8422f4c..6d57289 100644 --- a/src/_includes/posts.njk +++ b/src/_includes/posts.njk @@ -1,17 +1,26 @@ <!DOCTYPE html> <html lang="en"> <head> -{% include "head.njk" %} +{% include "./partials/head.njk" %} </head> <body> - {% include "header.njk" %} - - <main> - {{content | safe}} + {% 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> + </div> + <div class="mt-10 text-xl font-supply-regular text-justify"> + {{content | safe}} + </div> + </div> + </article> + </section> <a href="/posts">back to posts</a> </main> - <footer> - <p>© 2022 Indrajith K L </p> - </footer> + {% include "./partials/footer.njk" %} </body> </html>
\ No newline at end of file |