Skip to content

Commit 5ce2c33

Browse files
Add links to front page cards to make them clickable examples (#691)
See #69 and #69 (comment) for more. This PR adds a few links to the theme landing page as an example of how clickable cards work.
1 parent 22913c5 commit 5ce2c33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/content/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ title:
77
[[item]]
88
type = 'card'
99
title = 'Documented'
10+
link = 'https://theme.scientific-python.org/user_guide/'
1011
body = '''
1112
The theme is documented at https://theme.scientific-python.org.
1213
'''
@@ -20,12 +21,14 @@ The theme is being used by
2021
[numpy.org](https://github.com/numpy/numpy.org), and
2122
[scipy.org](https://github.com/scipy/scipy.org).
2223
'''
24+
link = 'https://github.com/search?q=scientific-python-hugo-theme+path:.gitmodules+(org:scientific-python+OR+repo:numpy/numpy.org+OR+repo:scipy/scipy.org)&type=code'
2325

2426
[[item]]
2527
type = 'card'
2628
title = 'Community Maintained'
2729
body = '''
2830
The theme is maintained by the [Theme Team](/about/).
2931
'''
32+
link = '/about/'
3033

3134
{{< /grid >}}

0 commit comments

Comments
 (0)