Files
RSSHub/lib/routes/gitstar-ranking/templates/description.art
T
Ethan Shen f45039f70e feat(route): add Gitstar Ranking (#19850)
* feat(route): add Gitstar Ranking

* Apply suggestions from code review

---------
2025-08-16 07:56:04 +08:00

38 lines
750 B
Arturo

{{ if images }}
{{ each images image }}
{{ if image?.src }}
<figure>
<img
{{ if image.alt }}
alt="{{ image.alt }}"
{{ /if }}
src="{{ image.src }}">
</figure>
{{ /if }}
{{ /each }}
{{ /if }}
{{ if stargazersCount }}
<table>
<tbody>
{{ if stargazersCount }}
<tr>
<th>Stars</th>
<td>{{ stargazersCount }}</td>
</tr>
{{ /if }}
{{ if language }}
<tr>
<th>Language</th>
<td>{{ language }}</td>
</tr>
{{ /if }}
{{ if description }}
<tr>
<th>Description</th>
<td>{{ description }}</td>
</tr>
{{ /if }}
</tbody>
</table>
{{ /if }}