From 76d3d895101d84b8d46c7ddc2ecf65bde744b92b Mon Sep 17 00:00:00 2001 From: Yoni Date: Sat, 21 Aug 2021 14:25:00 +0300 Subject: [PATCH] Per-page RTL summary based on page languagedir --- layouts/partials/summary/card.html | 2 +- layouts/partials/summary/classic.html | 2 +- layouts/partials/summary/compact.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/summary/card.html b/layouts/partials/summary/card.html index ed8187d..644fda0 100644 --- a/layouts/partials/summary/card.html +++ b/layouts/partials/summary/card.html @@ -1,4 +1,4 @@ -
+
{{- with .Params.pinned -}}{{ ($.Site.Params.pinIcon | safeHTML) | default "📌" }} {{- end -}}{{ .Title }}
diff --git a/layouts/partials/summary/classic.html b/layouts/partials/summary/classic.html index db71419..dedf21b 100644 --- a/layouts/partials/summary/classic.html +++ b/layouts/partials/summary/classic.html @@ -1,4 +1,4 @@ -
+
{{ if and (or ($.Param "featured_image") ($.Param "summary_image")) (eq ($.Param "sidebarPosition") "right") }} diff --git a/layouts/partials/summary/compact.html b/layouts/partials/summary/compact.html index a9df179..fe2c1ef 100644 --- a/layouts/partials/summary/compact.html +++ b/layouts/partials/summary/compact.html @@ -1,4 +1,4 @@ -
+
{{ $params := .Params }}