M css/main.css => css/main.css +12 -0
@@ 128,3 128,15 @@ aside::before {
pre {
overflow-x: scroll;
}
+
+.git-log {
+ display: flex;
+}
+
+.commit-msg {
+ margin-left: 1ch;
+}
+
+.commit-time {
+ margin-left: auto;
+}
M templates/git-log.html => templates/git-log.html +6 -2
@@ 1,5 1,9 @@
<ul>
$for(logs)$
- <li>$log$</li>
+ <li class="git-log">
+ <a href="https://git.sr.ht/~mrlee/www.kamelasa.dev/commit/$commit$">$commit$</a>
+ <span class="commit-msg">$message$</span>
+ <time class="commit-time" datetime="$date$">($date$)</time>
+ </li>
$endfor$
-</ul>>
\ No newline at end of file
+</ul>