Add link to changelog to each post.
This commit is contained in:
parent
0584a26902
commit
2a6da65c71
|
@ -198,3 +198,8 @@ kbd
|
|||
padding-left: 0.2em;
|
||||
border-top: 0.1em dotted var(--bg-hover);
|
||||
}
|
||||
|
||||
.changelog
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
|
|
|
@ -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…
Reference in New Issue
Block a user