|
1 | | -<div class="element-item cards bubble {% for aCategory in apackage.categories %} |
| 1 | +<div class="element-item package-card {% for aCategory in apackage.categories %} |
2 | 2 | {{ aCategory }} |
3 | 3 | {% endfor %}" data-category="data"> |
4 | | - <article itemscope itemtype="https://schema.org/SoftwareApplication"> |
5 | | - <h3 class="card__title no_toc" itemprop="name"> |
6 | | - {{ apackage.package_name }} |
7 | | - </h3> |
8 | | - <p class="page__meta contributors"> |
9 | | - <span><i class="fas fa-feather" aria-hidden="true"></i> |
10 | | - {% if apackage.all_current_maintainers %} |
11 | | - {% for maintainer in apackage.all_current_maintainers %} |
12 | | - <a href="https://github.com/{{ maintainer.github_username }}" rel="maintainer" target="_blank"> |
13 | | - {% if maintainer.name %} |
14 | | - {{ maintainer.name }}{% if forloop.last == false %},{% endif %} |
15 | | - {% else %} |
16 | | - {{ maintainer.github_username }}{% if forloop.last == false %},{% endif %} |
17 | | - {% endif %} |
18 | | - </a> |
19 | | - {% endfor %} |
20 | | - {% elsif apackage.submitting_author.name != 'Name' %} |
21 | | - <a href="https://github.com/{{ apackage.submitting_author.github_username }}" rel="maintainer" target="_blank"> |
22 | | - {{ apackage.submitting_author.name }} |
23 | | - </a> |
24 | | - {% else %} |
25 | | - <a href="https://github.com/{{ apackage.submitting_author.github_username }}" rel="maintainer" target="_blank"> |
26 | | - {{ apackage.submitting_author.github_username }} |
27 | | - </a> |
28 | | - {% endif %} |
29 | | - </span> |
30 | | - </p> |
31 | | - <span class="package_description"> |
32 | | - <p itemprop="description"> |
33 | | - {{ apackage.package_description | markdownify }} |
34 | | - </p> |
35 | | - </span> |
36 | | - <ul> |
37 | | - <li><a href="{{ apackage.repository_link }}" rel="permalink"><i class="fab fa-github"></i> View Code</a></li> |
38 | | - {% if apackage.gh_meta.documentation %} |
39 | | - <li><a href="{{ apackage.gh_meta.documentation }}" rel="permalink"><i class="fas fa-book-open"></i> View Docs</a></li> |
40 | | - {% endif %} |
41 | | - {% if apackage.citation-link %} |
42 | | - <li><a href="{{ apackage.archive }}" rel="permalink"><i class="fas fa-bookmark fa-fw"></i> Cite</a></li> |
43 | | - {% endif %} |
44 | | - <li><a href="{{ apackage.issue_link }}"><i class="fa-solid fa-user-pen"></i> View Review</a></li> |
45 | | - {% if apackage.joss %} |
46 | | - <li><a href="{{ apackage.archive }}" rel="permalink"><i class="fas fa-bookmark fa-fw"></i> JOSS Approved</a></li> |
47 | | - {% endif %} |
48 | | - {% if apackage.partners contains "astropy" %} |
49 | | - <li><a href="communities/astropy.html"><i class="fa-solid fa-check-double"></i> <img src="https://img.shields.io/badge/Affiliated-Astropy-orange.svg?style=flat" alt="Astropy" /></a></li> |
50 | | - {% endif %} |
51 | | - {% if apackage.active == false %} |
52 | | - <li><i class="fa-solid fa-box-archive"></i> Archived</li> |
53 | | - {% endif %} |
54 | | - </ul> |
55 | | - <hr> |
56 | | - {% if include.community %} |
57 | | - <h4>Package stats</h4> |
58 | | - <ul> |
59 | | - <li><strong>All Time Contributors:</strong> {{ apackage.gh_meta.contrib_count }}</li> |
60 | | - <li><strong>Last Commit date:</strong> {{ apackage.gh_meta.last_commit }}</li> |
61 | | - <li><strong>Date Created:</strong> {{ apackage.gh_meta.created_at }}</li> |
62 | | - </ul> |
| 4 | + <div class="package-card__content"> |
| 5 | + <h3 class="package-card__title" itemprop="name"> |
| 6 | + {{ apackage.package_name }} |
| 7 | + </h3> |
| 8 | + |
| 9 | + <div class="package-card__meta"> |
| 10 | + <i class="fas fa-feather" aria-hidden="true"></i> |
| 11 | + <span class="package-card__maintainers"> |
| 12 | + {% if apackage.all_current_maintainers %} |
| 13 | + {% for maintainer in apackage.all_current_maintainers %} |
| 14 | + <a href="https://github.com/{{ maintainer.github_username }}" rel="maintainer" target="_blank"> |
| 15 | + {% if maintainer.name %} |
| 16 | + {{ maintainer.name }}{% if forloop.last == false %},{% endif %} |
| 17 | + {% else %} |
| 18 | + {{ maintainer.github_username }}{% if forloop.last == false %},{% endif %} |
| 19 | + {% endif %} |
| 20 | + </a> |
| 21 | + {% endfor %} |
| 22 | + {% elsif apackage.submitting_author.name != 'Name' %} |
| 23 | + <a href="https://github.com/{{ apackage.submitting_author.github_username }}" rel="maintainer" target="_blank"> |
| 24 | + {{ apackage.submitting_author.name }} |
| 25 | + </a> |
| 26 | + {% else %} |
| 27 | + <a href="https://github.com/{{ apackage.submitting_author.github_username }}" rel="maintainer" target="_blank"> |
| 28 | + {{ apackage.submitting_author.github_username }} |
| 29 | + </a> |
63 | 30 | {% endif %} |
64 | | - </article> |
| 31 | + </span> |
| 32 | + </div> |
| 33 | + |
| 34 | + <div class="package-card__description" itemprop="description"> |
| 35 | + {{ apackage.package_description | markdownify }} |
| 36 | + </div> |
| 37 | + |
| 38 | + <ul class="package-card__links"> |
| 39 | + <li><a href="{{ apackage.repository_link }}" rel="permalink"><i class="fab fa-github" aria-hidden="true"></i> View Code</a></li> |
| 40 | + {% if apackage.gh_meta.documentation %} |
| 41 | + <li><a href="{{ apackage.gh_meta.documentation }}" rel="permalink"><i class="fas fa-book-open" aria-hidden="true"></i> View Docs</a></li> |
| 42 | + {% endif %} |
| 43 | + <li><a href="{{ apackage.issue_link }}"><i class="fa-solid fa-user-pen" aria-hidden="true"></i> View Review</a></li> |
| 44 | + {% if apackage.joss %} |
| 45 | + <li><a href="{{ apackage.archive }}" rel="permalink"><i class="fas fa-bookmark fa-fw" aria-hidden="true"></i> JOSS Approved</a></li> |
| 46 | + {% endif %} |
| 47 | + {% if apackage.partners contains "astropy" %} |
| 48 | + <li><a href="communities/astropy.html"><i class="fa-solid fa-check-double" aria-hidden="true"></i> <img src="https://img.shields.io/badge/Affiliated-Astropy-orange.svg?style=flat" alt="Astropy" /></a></li> |
| 49 | + {% endif %} |
| 50 | + {% if apackage.active == false %} |
| 51 | + <li class="package-card__archived"><i class="fa-solid fa-box-archive" aria-hidden="true"></i> Archived</li> |
| 52 | + {% endif %} |
| 53 | + </ul> |
| 54 | + </div> |
65 | 55 | </div> |
0 commit comments