|
1 | | - |
2 | 1 | <div class="element-item cards bubble {% for aCategory in apackage.categories %} |
3 | 2 | {{ aCategory }} |
4 | 3 | {% endfor %}" data-category="data"> |
5 | | - <article |
6 | | - class="archive__item" |
7 | | - itemscope="" |
8 | | - itemtype="https://schema.org/CreativeWork" |
9 | | - > |
| 4 | + <article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"> |
10 | 5 | <h3 class="card__title no_toc" itemprop="headline"> |
11 | 6 | {{ apackage.package_name }} |
12 | 7 | </h3> |
13 | 8 | <p class="page__meta contributors"> |
14 | 9 | <span><i class="fas fa-feather" aria-hidden="true"></i> |
15 | 10 | {% if apackage.all_current_maintainers %} |
16 | 11 | {% for maintainer in apackage.all_current_maintainers %} |
17 | | - <a |
18 | | - href="https://github.com/{{ maintainer.github_username }}" |
19 | | - rel="maintainer" |
20 | | - target="_blank" |
21 | | - > |
| 12 | + <a href="https://github.com/{{ maintainer.github_username }}" rel="maintainer" target="_blank"> |
22 | 13 | {% if maintainer.name %} |
23 | | - {{ maintainer.name }}{% if forloop.last == false %},{% endif %}</a> |
| 14 | + {{ maintainer.name }}{% if forloop.last == false %},{% endif %} |
24 | 15 | {% else %} |
25 | | - {{ maintainer.github_username }}{% if forloop.last == false %},{% endif %}</a> |
| 16 | + {{ maintainer.github_username }}{% if forloop.last == false %},{% endif %} |
26 | 17 | {% endif %} |
| 18 | + </a> |
27 | 19 | {% endfor %} |
28 | 20 | {% elsif apackage.submitting_author.name != 'Name' %} |
29 | | - <a |
30 | | - href="https://github.com/{{ apackage.submitting_author.github_username }}" |
31 | | - rel="maintainer" |
32 | | - target="_blank" |
33 | | - > |
| 21 | + <a href="https://github.com/{{ apackage.submitting_author.github_username }}" rel="maintainer" target="_blank"> |
34 | 22 | {{ apackage.submitting_author.name }} |
35 | 23 | </a> |
36 | 24 | {% else %} |
37 | | - <a |
38 | | - href="https://github.com/{{ apackage.submitting_author.github_username }}" |
39 | | - rel="maintainer" |
40 | | - target="_blank" |
41 | | - > |
| 25 | + <a href="https://github.com/{{ apackage.submitting_author.github_username }}" rel="maintainer" target="_blank"> |
42 | 26 | {{ apackage.submitting_author.github_username }} |
43 | 27 | </a> |
44 | 28 | {% endif %} |
45 | | - </span> |
| 29 | + </span> |
46 | 30 | </p> |
47 | 31 | <span class="narrow"> |
48 | 32 | <p class="archive__item-excerpt narrow" itemprop="description"> |
49 | 33 | {{ apackage.package_description | markdownify }} |
50 | 34 | </p> |
51 | 35 | </span> |
52 | 36 | <ul> |
53 | | - <li> |
54 | | - <a href="{{ apackage.repository_link }}" rel="permalink"> |
55 | | - <i class="fab fa-github"></i> View Code |
56 | | - </a> |
57 | | - </li> |
| 37 | + <li><a href="{{ apackage.repository_link }}" rel="permalink"><i class="fab fa-github"></i> View Code</a></li> |
58 | 38 | {% if apackage.gh_meta.documentation %} |
59 | | - <li> |
60 | | - <a |
61 | | - href="{{ apackage.gh_meta.documentation }}" |
62 | | - rel="permalink" |
63 | | - > |
64 | | - <i class="fas fa-book-open"></i> View Docs |
65 | | - </a> |
66 | | - </li> |
| 39 | + <li><a href="{{ apackage.gh_meta.documentation }}" rel="permalink"><i class="fas fa-book-open"></i> View Docs</a></li> |
67 | 40 | {% endif %} |
68 | 41 | {% if apackage.citation-link %} |
69 | | - <li> |
70 | | - <a href="{{ apackage.archive }}" rel="permalink"> |
71 | | - <i class="fas fa-bookmark fa-fw"></i> Cite |
72 | | - </a> |
73 | | - </li> |
| 42 | + <li><a href="{{ apackage.archive }}" rel="permalink"><i class="fas fa-bookmark fa-fw"></i> Cite</a></li> |
74 | 43 | {% endif %} |
75 | | - <li> |
76 | | - <a href= "{{ apackage.issue_link }}"> <i class="fa-solid fa-user-pen"></i> View Review </a> |
77 | | - </li> |
78 | | - |
| 44 | + <li><a href="{{ apackage.issue_link }}"><i class="fa-solid fa-user-pen"></i> View Review</a></li> |
79 | 45 | {% if apackage.joss %} |
80 | | - <li> |
81 | | - <a href="{{ apackage.archive }}" rel="permalink"> |
82 | | - <i class="fas fa-bookmark fa-fw"></i> JOSS Approved |
83 | | - </a> |
84 | | - </li> |
| 46 | + <li><a href="{{ apackage.archive }}" rel="permalink"><i class="fas fa-bookmark fa-fw"></i> JOSS Approved</a></li> |
85 | 47 | {% endif %} |
86 | 48 | {% if apackage.astropy %} |
87 | | - <li> |
88 | | - <a href="{{ apackage.archive }}" rel="permalink"> |
89 | | - <i class="fas fa-bookmark fa-fw"></i> Astropy Affiliated |
90 | | - </a> |
91 | | - </li> |
| 49 | + <li><a href="partners/astropy.html"><i class="fa-solid fa-check-double"></i> <img src="http://img.shields.io/badge/Affiliated-Astropy-orange.svg?style=flat" alt="Astropy" /></a></li> |
| 50 | + {% endif %} |
| 51 | + {% if apackage.sunpy %} |
| 52 | + <li><a href="partners/astropy.html"><i class="fa-solid fa-check-double"></i> <img src="http://img.shields.io/badge/Affiliated-Sunpy-yellow.svg?style=flat" alt="Astropy" /></a></li> |
92 | 53 | {% endif %} |
93 | 54 | </ul> |
94 | | - |
| 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> |
| 63 | + {% endif %} |
95 | 64 | </article> |
96 | | - </div> |
| 65 | +</div> |
0 commit comments