2021-08-15 08:41:40 +00:00
|
|
|
<article
|
2021-08-18 04:35:54 +00:00
|
|
|
class="flex flex-col items-center justify-center text-center {{ if not .Site.Params.homepage.showRecent }}
|
2021-08-15 08:41:40 +00:00
|
|
|
h-full
|
2021-08-18 04:35:54 +00:00
|
|
|
{{ end }}"
|
2021-08-15 08:41:40 +00:00
|
|
|
>
|
2021-08-19 06:43:45 +00:00
|
|
|
<header class="flex flex-col items-center mb-3">
|
2021-08-15 08:41:40 +00:00
|
|
|
{{ with .Site.Author.image }}
|
2022-01-11 01:29:21 +00:00
|
|
|
{{ $authorImage := resources.Get . }}
|
|
|
|
{{ if $authorImage }}
|
|
|
|
{{ $authorImage := $authorImage.Fill "288x288" }}
|
|
|
|
<img
|
|
|
|
class="mb-2 rounded-full w-36 h-36"
|
|
|
|
width="144"
|
|
|
|
height="144"
|
|
|
|
alt="Author"
|
|
|
|
src="{{ $authorImage.RelPermalink }}"
|
|
|
|
/>
|
|
|
|
{{ end }}
|
2021-08-15 08:41:40 +00:00
|
|
|
{{ end }}
|
|
|
|
<h1 class="text-4xl font-extrabold">
|
|
|
|
{{ .Site.Author.name | default .Site.Title }}
|
|
|
|
</h1>
|
2022-01-12 01:32:29 +00:00
|
|
|
{{ with .Site.Author.headline }}
|
|
|
|
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
|
|
|
|
{{ . }}
|
|
|
|
</h2>
|
|
|
|
{{ end }}
|
2021-08-15 08:41:40 +00:00
|
|
|
<div class="mt-1 text-2xl">
|
|
|
|
{{ partialCached "author-links.html" . }}
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<section class="prose dark:prose-light">{{ .Content | emojify }}</section>
|
|
|
|
</article>
|
2021-08-25 06:25:45 +00:00
|
|
|
<section>
|
2021-08-18 04:35:54 +00:00
|
|
|
{{ partial "recent-articles.html" . }}
|
|
|
|
</section>
|