From 45abd1c519450bf92731cd84d66bcfa3f7c49545 Mon Sep 17 00:00:00 2001 From: FarseaSH Date: Wed, 1 Sep 2021 23:01:44 +0800 Subject: [PATCH] fix responsive grid bug --- layouts/partials/head.html | 4 +++- layouts/partials/row.html | 6 ++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c0c8935..29b65ce 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -35,7 +35,9 @@ - + + + {{ .Site.Params.title }} \ No newline at end of file diff --git a/layouts/partials/row.html b/layouts/partials/row.html index 40de635..54e40db 100644 --- a/layouts/partials/row.html +++ b/layouts/partials/row.html @@ -2,8 +2,7 @@
- -
+

{{ .Date.Format "Jan 2"}}{{ if in (slice 1 21 31) .Date.Day}}st{{ else if in (slice 2 22) .Date.Day}}nd{{ else if in (slice 3 23) .Date.Day}}rd{{ else }}th{{ end }}

@@ -12,8 +11,7 @@
- -
+
{{ if gt .Params.top 0}}