my eye

Enhance commit log; copy hash and permalink published

Committed b24ed9

--- a/webint_code/templates/project/commit_log.html
+++ b/webint_code/templates/project/commit_log.html

     $ title, _, description = commit["message"].partition("\n\n")
     $ ts = commit["timestamp"]
     <div class=h-entry>
-    <code><a href=/projects/$project/commits/$commit_id>$commit_id[:7]</a></code>
-    <span class=p-name>$title</span>
-    <small><time class=dt-published
-      datetime=$ts.isoformat()>$ts.diff_for_humans()</time></small>
+      <span class=p-name>$:str(mkdn(title))[3:-4]</span>
+      <small><small>
+        <code onclick="navigator.clipboard.writeText('$commit_id')">$commit_id[:7].upper()</code>
+        <a href=/projects/$project/commits/$commit_id><time class=dt-published
+          datetime=$ts.isoformat()>$ts.diff_for_humans()</time></a>
+      </small></small>
     </div>