diff --git a/layouts/partials/li_card.html b/layouts/partials/li_card.html index d951fd5e..08dc2118 100644 --- a/layouts/partials/li_card.html +++ b/layouts/partials/li_card.html @@ -1,16 +1,11 @@ {{ $item := . }} -{{ $microdata_type := "CreativeWork" }} -{{ $show_buttons := false }} {{/* Dynamic view adjusts to content type. */}} -{{ if eq $item.Type "post" }} - {{ $microdata_type = "BlogPosting" }} -{{ else if eq $item.Type "talk" }} - {{ $microdata_type = "Event" }} +{{ $show_buttons := false }} +{{ if eq $item.Type "talk" }} {{ $show_buttons = true }} {{ else if eq $item.Type "publication" }} - {{ $microdata_type = "ScholarlyArticle" }} {{ $show_buttons = true }} {{ end }} @@ -26,21 +21,21 @@ {{ $summary = $item.Content }} {{ end }} -
+
{{ if eq $item.Type "talk" }}