From 05035121ffa0bfeadc9cca68fbfd026e50b00558 Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Tue, 22 Sep 2020 13:48:38 +0530
Subject: [PATCH] misc : refactor
* manage spacing and whitespace in meta
---
layouts/_default/list.html | 10 +++++-----
layouts/_default/single.html | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 0dd7286b..89ced7aa 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -40,7 +40,7 @@
{{if (ne .Site.Params.hideSummary true)}}
@@ -50,10 +50,10 @@
{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 6778345c..781a05d6 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -9,11 +9,11 @@
{{ if .Params.hideMeta }}{{ else }}
- {{ if $.Site.Params.ShowReadingTime }} .
- {{ $default_txt := print .ReadingTime " " "min" }}
- {{ i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
- {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
- {{ if .IsTranslated -}}|
+ {{- if $.Site.Params.ShowReadingTime -}} .
+ {{- $default_txt := print .ReadingTime " " "min" }}
+ {{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
+ {{- if or .Params.author .Site.Params.author }} . {{- .Params.author | default .Site.Params.author }}{{ end }}
+ {{- if .IsTranslated -}} |
{{ i18n "translations" | default "Translations"}}:
{{ range .Translations }}