-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove markdown in YAML content and improve search/filter (#…
…105)
- Loading branch information
Showing
9 changed files
with
112 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,31 @@ | ||
```{=html} | ||
<div class="grid text-center list"> | ||
<% for (const item of items) { %> | ||
<div class="g-col-12 g-col-sm-6 g-col-md-4" <%= metadataAttrs(item) %>> | ||
<a href="<%- item.path %>" class="listing-extension-author no-external"> | ||
<div class="card hovercard"> | ||
<!-- <div class="ribbon">GitHub</div> --> | ||
<img class="card-img-top" loading="lazy" style="border-radius: 40%;" src="<%- item.image %>" alt="<%= item.title %> picture" /> | ||
<div class="card-body"> | ||
<strong class="card-title listing-title"><%- item.title %></strong> | ||
<p class="card-text"> | ||
<% if (item.stars || item.extensions) { %> | ||
<br/> | ||
<% if (item.url) { %> | ||
<span> | ||
<a href="<%= item.url %>" target="_blank" class="text-decoration: none;"><iconify-icon inline="true" role="img" icon="octicon:mark-github-16" aria-label="Icon mark-github-16 from octicon Iconify.design set." title="Icon mark-github-16 from octicon Iconify.design set."></iconify-icon></a> | ||
</span> | ||
<% } %> | ||
<span> | ||
<iconify-icon inline="true" role="img" icon="octicon:star-16" aria-label="Icon star-16 from octicon Iconify.design set." title="Icon star-16 from octicon Iconify.design set."></iconify-icon> <%= item.stars %> | ||
</span> | ||
<span> | ||
<iconify-icon inline="true" role="img" icon="octicon:repo-16" aria-label="Icon repo-16 from octicon Iconify.design set." title="Icon repo-16 from octicon Iconify.design set."></iconify-icon> <%= item.extensions %> | ||
</span> | ||
<% } %> | ||
</p> | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
<% } %> | ||
</div> | ||
``` | ||
:::: {.grid .text-center .list} | ||
|
||
<% for (const item of items) { %> | ||
:::: {.g-col-12 .g-col-sm-6 .g-col-md-4 <%= metadataAttrs(item) %>} | ||
`<a href="<%- item.path %>" class="listing-extension-author no-external">`{=html} | ||
:::: {.card .hovercard} | ||
![](<%- item.image %>){.card-img-top loading="lazy" style="border-radius: 40%;" fig-alt="<%= item.title %> picture"} | ||
:::: {.card-body} | ||
[<%- item.title %>]{.card-title .listing-title style="font-weight: bold;"} | ||
[ | ||
[{{< iconify octicon:mark-github-16 >}}](<%= item.url %>){target="_blank" style="text-decoration: none;"} | ||
[{{< iconify octicon:star-16 >}}]{style='color:#dcbe50;'} <%= item.stars %> | ||
{{< iconify octicon:repo-16 >}} <%= item.extensions %> | ||
]{.card-text} | ||
::: | ||
::: | ||
`</a>`{=html} | ||
::: | ||
<% } %> | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<script type="text/javascript"> | ||
document.addEventListener("DOMContentLoaded", function() { | ||
const currentYear = new Date().getFullYear(); | ||
document.getElementById('current-year').textContent = currentYear; | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters