From 66afbb9bde57959ec76070768dcb3a0dfd64ac48 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 13 Jan 2022 15:43:19 +0500 Subject: [PATCH] show hashtags in social cards --- themes/lumbung-theme/layouts/partials/shout_card.html | 7 ++++++- themes/lumbung-theme/static/css/main.css | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/themes/lumbung-theme/layouts/partials/shout_card.html b/themes/lumbung-theme/layouts/partials/shout_card.html index 83dfc77..5519401 100644 --- a/themes/lumbung-theme/layouts/partials/shout_card.html +++ b/themes/lumbung-theme/layouts/partials/shout_card.html @@ -2,7 +2,12 @@
{{ $postPermalink := .Permalink}} -

{{ .Title }}

+

+ {{ range $i, $e := .Params.tags -}} + {{- if $i -}}, {{ end -}} + #{{ $e | humanize }} + {{- end -}} +

{{ with (index (.Resources.ByType "image") 0) }} diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 5563a6d..f182943 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -739,4 +739,8 @@ footer a:hover { min-width: none; max-width: 16ch; } + + .card.shout h2 a { + font-size: 26px; + } } \ No newline at end of file