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).
This commit is contained in:
Patrice Chalin 2020-05-15 19:32:40 -04:00 committed by GitHub
parent 7ffec32a53
commit 4e9f9396ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 12 deletions

View File

@ -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

View File

@ -10,11 +10,12 @@
<br />
<div class="buttons are-medium is-centered">
{{ range site.Menus.buttons }}
<a class="button is-primary has-text-weight-bold" href="{{ .URL }}">
{{ .Name }}
<a class="button is-primary has-text-weight-bold" href="/docs/guides">
Learn more
</a>
<a class="button is-primary has-text-weight-bold" href="/docs/quickstart">
Get started
</a>
{{ end }}
</div>
</div>
</div>