From 4e9f9396ee55238467872b05c84a1213fd39d9dc Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 15 May 2020 19:32:40 -0400 Subject: [PATCH] CTA button cleanup (#225) Followup to #223 - simplify the homepage hero section by just using plain HTML for the CTA buttons (there's no benefit to the data-driven generation of these two buttons). --- config.yaml | 8 -------- layouts/partials/home/hero.html | 9 +++++---- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/config.yaml b/config.yaml index 85fc23d..dc27d71 100644 --- a/config.yaml +++ b/config.yaml @@ -117,11 +117,3 @@ menu: url: /faq weight: 7 parent: docs - - buttons: - - name: Learn more - url: /docs/guides - weight: 1 - - name: Get started - url: /docs/quickstart - weight: 2 diff --git a/layouts/partials/home/hero.html b/layouts/partials/home/hero.html index 8c9bec3..d330377 100644 --- a/layouts/partials/home/hero.html +++ b/layouts/partials/home/hero.html @@ -10,11 +10,12 @@
- {{ range site.Menus.buttons }} - - {{ .Name }} + + Learn more + + + Get started - {{ end }}