Browse Source

Add link to changelog to each post.

main
tastytea 3 weeks ago
parent
commit
2a6da65c71
Signed by: tastytea GPG Key ID: CFC39497F1B26E07
2 changed files with 11 additions and 0 deletions
  1. +5
    -0
      assets/blog.css
  2. +6
    -0
      layouts/partials/extra_foot.html

+ 5
- 0
assets/blog.css View File

@ -198,3 +198,8 @@ kbd
padding-left: 0.2em;
border-top: 0.1em dotted var(--bg-hover);
}
.changelog
{
text-align: right;
}

+ 6
- 0
layouts/partials/extra_foot.html View File

@ -4,3 +4,9 @@
<div class="comtodon" data-domain="{{ .Site.Params.comtodon.domain }}" data-status="{{ .Params.comtodon }}" {{ with .Site.Params.comtodon.moderator }}data-moderator="{{ . }}"{{ end }}></div>
<script type="application/javascript" src="/comtodon.js" defer></script> -->
{{- end }}
<aside aria-labelledby="changelog_post" class="changelog">
{{ with .File }}
<a id="changelog_post" href="https://schlomp.space/tastytea/blog/commits/branch/main/content/{{ .Path }}">Changelog for this post</a>
{{ end }}
</aside>

Loading…
Cancel
Save