Skip to content

Commit 88ea0ca

Browse files
committed
Make "Get started" button link work
1 parent c8a51d5 commit 88ea0ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ params:
2121
# Button text
2222
buttontext: Get started
2323
# Where the main hero button links to
24-
buttonlink: "#"
24+
buttonlink: "/learn"
2525
# Hero image (from static/images/___)
2626
image: logos/numpy.svg
2727
# Customizable navbar. For a dropdown, add a "sublinks" list.

layouts/partials/hero-body.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
{{ . }}
1818
</div>
1919
{{ end }}
20-
<div class="hero-cta">
21-
<button class="cta-button">{{ $buttonText }}</button>
20+
<div class="hero-cta" href="/learn">
21+
<a href="{{ $buttonLink }}"><button class="cta-button">{{ $buttonText }}</button></a>
2222
</div>
2323
</div>
2424
</div>
@@ -43,4 +43,4 @@
4343
</div>
4444
</div>
4545
</div>
46-
</div>
46+
</div>

0 commit comments

Comments
 (0)