~mrlee/www.kamelasa.dev

fd242601a4c7e426b97bec72a31c5135d5555a11 — Lee Meichin 2 months ago bcfd6ef
Add git changelog to individual posts too
2 files changed, 14 insertions(+), 9 deletions(-)

M templates/git-log.html
M templates/post.html
M templates/git-log.html => templates/git-log.html +1 -1
@@ 1,5 1,5 @@
<ul>
    $for(logs)$
    $for(gitlogs)$
    <li class="git-log">
      <a href="https://git.sr.ht/~mrlee/www.kamelasa.dev/commit/$commit$">$commit$</a>
      <span class="commit-msg">$message$</span>

M templates/post.html => templates/post.html +13 -8
@@ 1,10 1,15 @@
<article>
    <header class="header inverse-video">
        <h2 class="title">$title$</h2>
        <span class="ert">~$ert$ min. read</span>
    </header>
  <header class="header inverse-video">
    <h2 class="title">$title$</h2>
    <span class="ert">~$ert$ min. read</span>
  </header>

    <section>
        $body$
    </section>
</article>
\ No newline at end of file
  <section>$body$</section>

  <hr />

  <section>
    <h3>Changelog</h3>
    $partial("templates/git-log.html")$
  </section>
</article>