diff options
Diffstat (limited to 'src/_includes/posts.njk')
-rw-r--r-- | src/_includes/posts.njk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/_includes/posts.njk b/src/_includes/posts.njk index 1c62004..99eb681 100644 --- a/src/_includes/posts.njk +++ b/src/_includes/posts.njk @@ -11,7 +11,7 @@ <div class="flex flex-col justify-start p-6 "> <div> <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> + <p class="text-lg text-darkish-100 text-center">{{page.date.toUTCString() | dateFilter}}</p> </div> <div class="mt-10 text-xl font-supply-regular text-justify text-darkish-300"> {{content | safe}} @@ -26,6 +26,9 @@ </span> </span> </div> + <div class="pt-5 text-xs md:text-justify text-left"> + <span class="text-center">Post Last Modified: {{modified() | dateFilter}}</span></span> + </div> <div class="my-5"> <a class="justify-start bg-main-red rounded-md p-3 text-main-cream-white-1" href="/posts"><span class="absolute md:text-center text-left">{% feather "arrow-left" %}</span> <span class="ml-7">back to posts</span></a> </div> |