diff --git a/content/trusted-content/_index.md b/content/trusted-content/_index.md index c12e605a50..dde09d5fd1 100644 --- a/content/trusted-content/_index.md +++ b/content/trusted-content/_index.md @@ -5,15 +5,15 @@ keywords: doi, dvp, dsos, open source, security, base images grid: - title: Docker Official Images description: A curated set of Docker repositories hosted on Docker Hub. - image: /trusted-content/images/doi-icon.svg + icon: /trusted-content/images/doi-icon.svg link: /trusted-content/official-images/ - title: Docker Verified Publisher description: High-quality images from verified vendors. - image: /trusted-content/images/dvp-icon.svg + icon: /trusted-content/images/dvp-icon.svg link: /trusted-content/dvp-program/ - title: Docker-Sponsored Open Source description: High-quality images from non-commercial open source projects. - image: /trusted-content/images/dsos-icon.svg + icon: /trusted-content/images/dsos-icon.svg link: /trusted-content/dsos-program/ --- diff --git a/layouts/partials/components/card.html b/layouts/partials/components/card.html index 2eeb210045..20ecfeea7f 100644 --- a/layouts/partials/components/card.html +++ b/layouts/partials/components/card.html @@ -1,31 +1,54 @@ +{{ if (and .image .icon) }} + {{ errorf "card: don't use both image and icon: %s" . }} +{{ end }}
{{ if .link }} - - {{ end }} -
+ {{ end }} +