patx/hglab
update tags to match commits list more style wise
Commit a7cff08f7fe1 · Harrison Erd · 2026-05-04 00:53 -0400
Comments
No comments yet.
Diff
diff --git a/templates/commits.tpl b/templates/commits.tpl
--- a/templates/commits.tpl
+++ b/templates/commits.tpl
@@ -19,7 +19,7 @@
<code><a href="/{{repo['owner_username']}}/{{repo['name']}}/commits/{{commit['node']}}">{{commit["node"]}}</a></code>
<div>
<strong>{{commit["summary"]}}</strong>
- <span>{{commit["author"]}} · {{commit["date"]}}</span>
+ <small>{{commit["author"]}} · {{commit["date"]}}</small>
</div>
</li>
% end
diff --git a/templates/tags.tpl b/templates/tags.tpl
--- a/templates/tags.tpl
+++ b/templates/tags.tpl
@@ -13,16 +13,14 @@
<section class="panel">
% if tags:
- <ul class="clean-list tag-list">
+ <ul class="commit-list">
% for tag in tags:
<li>
- <div>
- <h2>{{tag["name"]}} <a href="/hg/{{repo['owner_username']}}/{{repo['name']}}/archive/{{tag['short_node']}}.zip"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16"><path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"/><path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z"/></svg></a></h2>
- <p>
- <code><a href="/{{repo['owner_username']}}/{{repo['name']}}/commits/{{tag['short_node']}}">{{tag["short_node"]}}</a></code>
- <span class="muted">rev {{tag["rev"]}} · {{tag["date"]}}</span>
- </p>
- </div>
+ <code>{{tag["name"]}} <a href="/hg/{{repo['owner_username']}}/{{repo['name']}}/archive/{{tag['short_node']}}.zip"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16"><path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"/><path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z"/></svg></a></code>
+ <div>
+ <strong><a href="/{{repo['owner_username']}}/{{repo['name']}}/commits/{{tag['short_node']}}">{{tag["short_node"]}}</a></strong>
+ <small>rev {{tag["rev"]}} · {{tag["date"]}}</small>
+ </div>
</li>
% end
</ul>