diff options
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 |