From e776c62e6bbaabe5fd1def8394c5497d81d09178 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 5 Nov 2022 03:19:50 +0530 Subject: Fixes: Wrong Dates in post publication Adds: Post modified dates --- src/_includes/assets/css/styles.css | 22 ++++------------------ src/_includes/posts.njk | 5 ++++- 2 files changed, 8 insertions(+), 19 deletions(-) (limited to 'src/_includes') diff --git a/src/_includes/assets/css/styles.css b/src/_includes/assets/css/styles.css index e93ba11..ffecb55 100644 --- a/src/_includes/assets/css/styles.css +++ b/src/_includes/assets/css/styles.css @@ -945,6 +945,10 @@ select { margin-bottom: 0.75rem; } +.mb-4 { + margin-bottom: 1rem; +} + .ml-2 { margin-left: 0.5rem; } @@ -969,10 +973,6 @@ select { margin-left: 2.5rem; } -.mb-4 { - margin-bottom: 1rem; -} - .block { display: block; } @@ -2114,17 +2114,3 @@ svg { line-height: 2rem; } } - -@media (min-width: 1024px) { - .lg\:w-full { - width: 100%; - } - - .lg\:text-left { - text-align: left; - } - - .lg\:text-center { - text-align: center; - } -} 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 @@

{{title}}

-

{{date | dateFilter}}

+

{{page.date.toUTCString() | dateFilter}}

{{content | safe}} @@ -26,6 +26,9 @@
+
+ Post Last Modified: {{modified() | dateFilter}} +
{% feather "arrow-left" %} back to posts
-- cgit v1.2.3