|
11 | 11 |
|
12 | 12 | <div class="section-container">
|
13 | 13 | <h2 class="mb-3">Open Source Projects</h2>
|
14 |
| - |
15 |
| - <ul class="card-grid mb-3"> |
16 |
| - {% assign public_repositories = site.github.public_repositories | where:'archived', false | where:'fork', false | sort: 'stargazers_count' | reverse %} |
17 |
| - {% for repository in public_repositories %} |
18 |
| - |
19 |
| - <!-- Assign theme colors based of off the project language --> |
20 |
| - <!-- See include below for logic and color.scss for available themes --> |
21 |
| - {% include project-color-logic.html %} |
22 |
| - |
23 |
| - <li class="card theme-{{ theme | default: "midnight" }}"> |
24 |
| - <header class="card__header"> |
25 |
| - |
26 |
| - <!-- Project title --> |
27 |
| - <h2 class="card__header-title"> |
28 |
| - <a class="card__header-link stretched-link" href='{{ repository.html_url }}'> |
29 |
| - {{ repository.name }} |
30 |
| - </a> |
31 |
| - </h2> |
32 |
| - |
33 |
| - <!-- Project metadata --> |
34 |
| - <ul class="card__header-list list--inline fs-md monospace"> |
35 |
| - {% if repository.language %} |
36 |
| - <li> |
37 |
| - <svg class="svg-icon"><use xlink:href="{{ '/assets/images/icons/icon-sprite.svg#code' | relative_url }}"></use></svg><span class="visually-hidden">Language: </span>{{ repository.language }} |
38 |
| - </li> |
39 |
| - {% endif %} |
40 |
| - |
41 |
| - {% if repository.license.spdx_id %} |
42 |
| - <li> |
43 |
| - <svg class="svg-icon"><use xlink:href="{{ '/assets/images/icons/icon-sprite.svg#license' | relative_url }}"></use></svg><span class="visually-hidden">License: </span>{{ repository.license.spdx_id }} |
44 |
| - </li> |
45 |
| - {% endif %} |
46 |
| - </ul> |
47 |
| - |
48 |
| - <!-- External Link Indicator --> |
49 |
| - <div class="card__external-indicator"> |
50 |
| - <svg class="svg-icon"><use xlink:href="{{ '/assets/images/icons/icon-sprite.svg#arrow-external' | relative_url }}"></use></svg> |
51 |
| - </div> |
52 |
| - </header> |
53 |
| - |
54 |
| - <!-- Project description --> |
55 |
| - <div class="card__body fs-md monospace" aria-hidden="true"> |
56 |
| - {% if repository.description %} |
57 |
| - <p class="m-0 clamp-3">{{ repository.description }}</p> |
58 |
| - {% endif %} |
59 |
| - </div> |
60 |
| - </li> |
61 |
| - |
62 |
| - {% endfor %} |
63 |
| - </ul> |
| 14 | + {% include project-list.html %} |
64 | 15 | </div>
|
0 commit comments