From 646fdccac5f0ec506b80ed532baa4012965b682e Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 22 Jun 2024 03:40:56 +0530 Subject: Date Utils, Cosmetic and Implementation Changes * Adds Utils method for formatting date * Adds Published at to the posts page * Adds new logo, removes font dependency * Renames Posts link to Blog --- src/views/blog.ecr | 0 src/views/layout.ecr | 36 +++++++++++++++++++++++++----------- 2 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 src/views/blog.ecr (limited to 'src/views') diff --git a/src/views/blog.ecr b/src/views/blog.ecr new file mode 100644 index 0000000..e69de29 diff --git a/src/views/layout.ecr b/src/views/layout.ecr index abb2dae..763f1cb 100644 --- a/src/views/layout.ecr +++ b/src/views/layout.ecr @@ -7,28 +7,37 @@ + + +
- +

(Software is Art)


-
+
+ <%- if published_at -%> +
+ <%= published_at %> +
+ <%- else -%> + <%- end -%> <%= content %>
@@ -44,11 +53,16 @@ -- cgit v1.2.3