From 6f258837d78044e315dfa49cf680b9f1245d4e38 Mon Sep 17 00:00:00 2001
From: lxndrblz <lxndrblz@users.noreply.github.com>
Date: Wed, 13 Jul 2022 11:53:04 +0000
Subject: [PATCH] style: prettier format all files
---
layouts/_default/list.html | 4 ++++
layouts/_default/single.html | 4 ++++
layouts/index.html | 4 ++++
3 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 0f985b5..a3f72e6 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -19,9 +19,11 @@
{{ if .Site.Params.localizedDates }}
{{ time.Format .Site.Params.listDateFormat .Date }}
+
{{ else }}
{{ .Date.Format .Site.Params.listDateFormat }}
+
{{ end }}
@@ -29,9 +31,11 @@
{{ if .Site.Params.localizedDates }}
{{ time.Format "Jan 2" .Date }}
+
{{ else }}
{{ .Date.Format "Jan 2" }}
+
{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index c2d2f86..ddef496 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -25,9 +25,11 @@
{{ if .Site.Params.localizedDates }}
{{ time.Format .Site.Params.singleDateFormat .Date }}
+
{{ else }}
{{ .Date.Format .Site.Params.singleDateFormat }}
+
{{ end }}
@@ -35,9 +37,11 @@
{{ if .Site.Params.localizedDates }}
{{ time.Format "Mon, Jan 2, 2006" .Date }}
+
{{ else }}
{{ .Date.Format "Mon, Jan 2, 2006" }}
+
{{ end }}
diff --git a/layouts/index.html b/layouts/index.html
index e8650c4..89bc9f0 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -80,9 +80,11 @@
{{ if .Site.Params.localizedDates }}
{{ time.Format .Site.Params.indexDateFormat .Date }}
+
{{ else }}
{{ .Date.Format .Site.Params.indexDateFormat }}
+
{{ end }}
@@ -90,9 +92,11 @@
{{ if .Site.Params.localizedDates }}
{{ time.Format "Mon, Jan 2, 2006" .Date }}
+
{{ else }}
{{ .Date.Format "Mon, Jan 2, 2006" }}
+
{{ end }}
--
Gitblit v1.10.0