diff options
author | mms <michal@sapka.me> | 2024-05-08 23:19:49 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-05-08 23:20:31 +0200 |
commit | 5b323e282cac0e8b42e698d3a3ec8923edfcbc6e (patch) | |
tree | 234c53b383c0f89e27d66650e3b2e3e15971b215 /layouts/partials | |
parent | ad42d8473bd2d5cbce2a4d87b2cafd86ccdf3950 (diff) |
feat: dbs super hero
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/single/dates.html | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/layouts/partials/single/dates.html b/layouts/partials/single/dates.html index 080e37b..c8877e1 100644 --- a/layouts/partials/single/dates.html +++ b/layouts/partials/single/dates.html @@ -5,20 +5,25 @@ {{ $path := .File.Path }} {{ $lastmodhash := .GitInfo.Hash }} -<aside class="publish-date"> - {{ if eq $pubdate $lastmod }} - Published: <time datetime="{{ $pubdate }}"> - <a href="{{$.Site.Params.repoUrl}}/commit/{{$lastmodhash}}">{{ $lastmod }}</a> - </time> +<aside class="publish-date" style="margin-top: 35px; opacity: 0.8"> + + {{ if eq $pubdate $lastmod }} + Published: <time datetime="{{ $pubdate }}"> + <a href="{{$.Site.Params.repoUrl}}/commit/{{$lastmodhash}}">{{ $lastmod }}</a>. + </time> {{ else }} - - Originally published: + + Originally published: <time datetime="{{ $pubdate }}">{{ $pubdate }}</time>; - updated: <time datetime="{{ $lastmod }}"> + last updated: <time datetime="{{ $lastmod }}"> <a href="{{$.Site.Params.repoUrl}}/commit/{{$lastmodhash}}">{{ $lastmod }}</a> - </time> -</aside> + </time>. {{ end }} + + This page is licensed under a <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0 Deed</a> license. + If you found this site interesting, you can <a href="https://ko-fi.com/mmspl">buy me a coffee</a>. + You can contact me via <a href="/me/contact/">email</a> or using <a href="https://emacs.ch/@mms">mastodon</a>. +</aside> |