Skip to content

Commit d9d34a6

Browse files
committed
feat: fix astropy landing page
1 parent f401049 commit d9d34a6

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

_pages/python-packages.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ redirect_from:
2020
{% assign packages_sorted = site.data.packages | sort_natural: 'date_accepted' | reverse %}
2121
{% assign total_packages = packages_sorted | size %}
2222

23+
2324
## Explore our accepted scientific Python open source packages
2425

2526
To date, {{ total_packages }} packages have been accepted into the pyOpenSci
@@ -29,9 +30,7 @@ ecosystem. [Click here to check out packages that are currently under review.](h
2930

3031
To view packages affiliated with our partner communities that are a part of ourpeer review partnership program, click on a community link below. [Learn more about our community partnerships here.](#)
3132

32-
<a href="/partners/astropy.html"><button class="button community">Astropy</button></a>
33-
<button class="button community">Pangeo</button>
34-
<button class="button community">pyHeliophysics</button>
33+
<a href="/communities/astropy.html"><button class="button community">Astropy</button></a>
3534

3635
### All Packages - Search and filters
3736

communities/astropy.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: splash
33
title: "Astropy"
4-
excerpt: "An ecosystem of interoperable astronomy packages"
4+
excerpt: "An ecosystem of interoperable astronomy packages."
55
header:
66
overlay_color: "rgb(255, 80, 0)"
77
overlay_filter: 0.6
8-
overlay_image: images/partners/astropy-banner.png
8+
overlay_image: images/communities/astropy-banner.png
99
image_alt: "Digital elevation model"
10-
permalink: partners/astropy.html
10+
permalink: communities/astropy.html
1111
intro:
1212
- excerpt: "Astropy is a pyOpenSci community peer review partner. [Learn more about our peer review partnership program](/partners.html)."
1313
classes: wide
@@ -16,9 +16,11 @@ community: astropy
1616

1717
{%
1818
assign pkgs = site.data.packages
19-
| where_exp: "item", "item.communities contains page.community"
19+
| where_exp: "item", "item.partners contains page.community" | sort_natural: 'date_accepted' | reverse
2020
%}
2121

22+
{% assign total_packages = pkgs | size %}
23+
2224
{% include feature_row id="intro" type="center" %}
2325

2426
## pyOpenSci peer review partner: {{ page.community | capitalize }}
@@ -27,18 +29,29 @@ community: astropy
2729

2830
[Astropy](https://www.astropy.org/) is a community effort to develop a common
2931
core package for Astronomy in Python. Astropy also fosters an ecosystem of
30-
interoperable astronomy packages. As with all scientific Python packages,
31-
please remember to acknowledge and cite the use of any {{ page.community }}
32-
packages that you use!
32+
interoperable astronomy packages. Please remember to acknowledge and cite the use of any {{ page.community }}
33+
packages that you use.
34+
35+
Astropy currently has {{ total_packages }} packages that have been accepted by pyOpenSci and also become affiliated Astropy packages through our [partnership](partners.html).
3336

34-
***ATTN:*** It would be nice to add a bit more about astropy here
3537

3638
<p><input type="text" id="quicksearch" placeholder="Search {{ page.community }} packages" /></p>
3739

40+
3841
<div id="filters" class="button-group">
39-
<button class="button is-checked" data-filter="*">Show All</button>
42+
<button class="button is-checked" data-filter="*">show all</button>
43+
<button class="button" data-filter=".data-munging, .data-processing-munging">data munging</button>
44+
<button class="button" data-filter=".data-extraction">data extraction</button>
45+
<button class="button" data-filter=".data-retrieval">data retrieval</button>
46+
<button class="button" data-filter=".data-visualization">data-visualization</button>
47+
<button class="button" data-filter=".education">education</button>
48+
49+
<button class="button" data-filter=".geospatial">geospatial</button>
50+
<button class="button" data-filter=".reproducibility">reproducibility</button>
4051
</div>
4152

53+
54+
4255
<div class="grid-isotope">
4356
{% for apackage in pkgs %}
4457
{% include package-grid.html community=page.community %}

0 commit comments

Comments
 (0)