diff --git a/layouts/partials/linkCard.html b/layouts/partials/linkCard.html index 3585c94..c971a62 100644 --- a/layouts/partials/linkCard.html +++ b/layouts/partials/linkCard.html @@ -1,14 +1,11 @@ -
-
-

- {{ .title }} -

-
+
+

{{ .title }}

+
+

Link

- {{ if isset . "description" }} -

{{ .description | markdownify }}

- {{ end }} + {{ if isset . "description" }} +

{{ .description | markdownify }}

+ {{ end }} -
diff --git a/layouts/shortcodes/linkCardList.html b/layouts/shortcodes/linkCardList.html index 9ed273f..8444e5f 100644 --- a/layouts/shortcodes/linkCardList.html +++ b/layouts/shortcodes/linkCardList.html @@ -1,7 +1,7 @@ {{ with .Get 0 }} {{ $cardData := getJSON . }} -
+
{{ range $cardData }} {{ partial "linkCard" . }} {{ end }}