diff --git a/content/reference.md b/content/reference.md index d8ed4c5e11..71aa4aaff0 100644 --- a/content/reference.md +++ b/content/reference.md @@ -80,16 +80,16 @@ various APIs, CLIs, drivers and specifications, and file formats. ## File formats -{{< grid grid_files >}} +{{< grid items="grid_files" >}} ## Command-line interfaces (CLIs) -{{< grid grid_clis >}} +{{< grid items="grid_clis" >}} ## Application programming interfaces (APIs) -{{< grid grid_apis >}} +{{< grid items="grid_apis" >}} ## Drivers and specifications -{{< grid grid_specs >}} +{{< grid items="grid_specs" >}} diff --git a/content/security/_index.md b/content/security/_index.md index d09b4ab214..fd7b99ee74 100644 --- a/content/security/_index.md +++ b/content/security/_index.md @@ -90,14 +90,14 @@ For both administrators and developers, Docker provides security-specific produc Explore the security features Docker offers to satisfy your company's security policies. -{{< grid grid_admins >}} +{{< grid items="grid_admins" >}} ## For developers See how you can protect your local environments, infrastructure, and networks without impeding productivity. -{{< grid grid_developers >}} +{{< grid items="grid_developers" >}} ## Further resources -{{< grid grid_resources >}} +{{< grid items="grid_resources" >}} 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 }}