~mrlee/www.kamelasa.dev

bcfd6efd12c4525e003852e72e5cff71abd1f1a0 — Lee Meichin a month ago 9ed850f
Update git log to use the fancy new format
2 files changed, 18 insertions(+), 2 deletions(-)

M css/main.css
M templates/git-log.html
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>