From 2149a5a4c51e465d5e7634820b14663fb54e8d49 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 20 Jan 2022 13:29:50 +0500 Subject: [PATCH] remove extra elements from shouts card footer --- .../layouts/partials/network_card.html | 64 +++++++++---------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/themes/lumbung-theme/layouts/partials/network_card.html b/themes/lumbung-theme/layouts/partials/network_card.html index 0556f2a..ee92797 100644 --- a/themes/lumbung-theme/layouts/partials/network_card.html +++ b/themes/lumbung-theme/layouts/partials/network_card.html @@ -1,37 +1,35 @@
-
-
- {{ $postPermalink := .Permalink}} - -

{{ .Title }}

- -
- -
From {{ if .Params.author }}{{.Params.author}} at {{ end }}{{ .Params.feed_name }}
- {{ with (index (.Resources.ByType "image") 0) }} - {{ $height := add .Height 0.0}} - {{ $ratio := div $height .Width}} - {{ $thumb := .Fit "540x360"}} -
-
- {{ .Title }} +
+
+ {{ $postPermalink := .Permalink}} + +

{{ .Title }}

+ +
+ +
From {{ if .Params.author }}{{.Params.author}} at {{ end }}{{ .Params.feed_name }}
+ {{ with (index (.Resources.ByType "image") 0) }} + {{ $height := add .Height 0.0}} + {{ $ratio := div $height .Width}} + {{ $thumb := .Fit "540x360"}} +
+
+ {{ .Title }} +
+ {{ else }} +
+ {{ end }} +
+ {{ .Summary }}
- {{ else }} -
- {{ end }} -
- {{ .Summary }} -
-
- -
+
+ + -
-
\ No newline at end of file + + + +
+
\ No newline at end of file