add ability to sort repo list by date
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<th>Website</th>
|
||||
<th>Last Updated</th>
|
||||
</tr>
|
||||
{% for repo in repos | sort(attribute="name") -%}
|
||||
{% for repo in repos | sort(attribute="last_ts_utc") | reverse -%}
|
||||
<tr>
|
||||
<td class="repo"><a href="{{repo.name}}/summary.html">{{ repo.name }}</a></td>
|
||||
<td class="description nosmall">{{repo.metadata.description}}</td>
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ table.summary-table tr:nth-child(even), table.repo-list tr:nth-child(even) {
|
||||
background-color: var(--offerwhite);
|
||||
}
|
||||
table.repo-list td {
|
||||
padding: 0.5em 0.3em 0.5em 0.3em;
|
||||
padding: 0.3em 0.3em 0.3em 0.3em;
|
||||
}
|
||||
table.summary-table td, table.repo-list td {
|
||||
word-break: break-all;
|
||||
|
||||
Reference in New Issue
Block a user