From b6dc6d8777c6ded550f937b082a7bc567f0e469e Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 16 Jan 2021 22:42:00 +0000 Subject: [PATCH] feat: show button links in listings irrespective of Type Extend scope to include Portfolio's Card view. --- wowchemy/layouts/partials/portfolio_li_card.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wowchemy/layouts/partials/portfolio_li_card.html b/wowchemy/layouts/partials/portfolio_li_card.html index afd35ced..51d84212 100644 --- a/wowchemy/layouts/partials/portfolio_li_card.html +++ b/wowchemy/layouts/partials/portfolio_li_card.html @@ -1,8 +1,8 @@ {{ $item := .item }} {{ $widget := .widget }} - {{ $link := .link }} {{ $target := .target }} +{{ $has_attachments := partial "functions/has_attachments" $item }} {{/* Get summary. */}} {{ $summary := "" }} @@ -29,11 +29,18 @@ {{ end }}

{{ $item.Title | markdownify | emojify }}

+ {{ with $summary }}

{{ . }}

{{ end }} + + {{ if $has_attachments }} + + {{ end }}