From c11395e7bcd75eef37b4f4e9c67dc9c6f912c0b7 Mon Sep 17 00:00:00 2001
From: LUCASTUCIOUS <peterlucas2804@gmail.com>
Date: Sat, 20 Jan 2024 21:18:35 +0000
Subject: [PATCH] feat: Add an option to display or not reading time from notes (#707)

---
 quartz/util/lang.ts |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/quartz/util/lang.ts b/quartz/util/lang.ts
index eb03a24..5211b5d 100644
--- a/quartz/util/lang.ts
+++ b/quartz/util/lang.ts
@@ -5,3 +5,7 @@
     return `${count} ${s}s`
   }
 }
+
+export function capitalize(s: string): string {
+  return s.substring(0, 1).toUpperCase() + s.substring(1)
+}

--
Gitblit v1.10.0