fix deprecated author variable

This commit is contained in:
ch0ccyra1n 2024-12-05 13:04:30 -08:00
parent 1195b4b633
commit fc256574b0
2 changed files with 6 additions and 11 deletions

View file

@ -15,25 +15,20 @@
<a href="https://emeraldsocial.org" class="badge">
<img title="Emerald Social" src="/images/emeraldsocial-88x31.png" alt="Emerald Social">
</a>
<a href="https://social.translunar.academy" class="badge">
<a href="https://translunar.academy" class="badge">
<img title="Translunar Academy" src="https://translunar.academy/static/img/badge.png" alt="Translunar Academy">
</a>
<a href="https://nano.lgbt" class="badge">
<img title="Nano!" src="https://nano.lgbt/buttons/nano.png" alt="Nano">
</a>
<a href="https://maia.crimew.gay" class="badge">
<img title="maia arson crimew" src="https://maia.crimew.gay/badges/maia.crimew.gay.png" alt="maia.crimew.gay">
</a>
<a href="https://support.google.com/chrome/answer/95319" class="badge">
<img title="Stop supporting Goolag's monopoly! Use anything except Chrome (or other Chromium-based browsers)!" src="/images/anythingbut.gif" alt="Anything but Chrome">
</a>
<img class="badge" title="Discord is spyware and bloat." src="/images/discord-no-way.gif" alt="Discord? No way!">
<hr>
<p>Want your bade here? <a href="/contact">Hit me up!</a></p>
<hr>
<p class="h-card vcard">
<img style="display: inline; width: 100px;" class="u-photo" src="/images/profile.png" alt="a cat with a wide-eyed stare" />
<a style="text-decoration: none" href={{ .Site.BaseURL }} class="p-name u-url url author metatag" rel="me"> {{ .Site.Author.name }}'s website </a>
<a class="p-nickname u-email email metatag" rel="me" href="mailto:{{ .Site.Author.email }}"> {{ .Site.Author.email }} </a>
<a style="text-decoration: none" href={{ .Site.BaseURL }} class="p-name u-url url author metatag" rel="me"> {{ .Site.Params.Author.name }}'s website </a>
<a class="p-nickname u-email email metatag" rel="me" href="mailto:{{ .Site.Params.Author.email }}"> {{ .Site.Params.Author.email }} </a>
</p>
<p>Copyright (c) {{ now.Format "2006"}} ch0ccyra1n | Colors brought to you by <a href="https://randoma11y.com/">randoma11y</a>.</p>
<script src="/webmention.min.js" async></script>

View file

@ -4,7 +4,7 @@
<div class="blog__container">
<h1 class="post-title p-name" style="font-size: xx-large;">{{ .Title }}</h1>
<div class="blog__info">
<span>Published at <a class="u-url" href="{{ .Permalink }}"><time class="dt-published">{{ .PublishDate.Format "January 2, 2006" }}</time></a> by <span class="p-author">{{ .Params.author | default .Site.Author.name }}</span></span> |
<span>Published at <a class="u-url" href="{{ .Permalink }}"><time class="dt-published">{{ .PublishDate.Format "January 2, 2006" }}</time></a> by <span class="p-author">{{ .Params.author | default .Site.Params.Author.name }}</span></span> |
{{ .ReadingTime }} {{ if eq .ReadingTime 1 }} minute {{ else }} minutes {{ end }} read
</p>
</div>