blob: 6f296a9020d1430ae3d019c88a3c096e44681902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{{- $author := partial "author-data" . -}}
{{- $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006 3:04PM" -}}
<div class="flex items-center">
<div class="flex-shrink-0">
<img
class="w-12 h-12 sm:w-14 sm:h-14 object-cover p-05 rounded-full border border-blue-300"
src="{{ $author.image }}"
alt="{{ $author.name }}">
</div>
<div class="flex-shrink-0 ml-2 leading-tight font-content-sans">
<a class="block text-sm text-raven-800 hover:text-raven-900 hover:underline focus:underline" target="_blank" rel="noopener nofollow" title="{{ $author.name }}" href="{{ $author.uri | absURL }}">{{ $author.name }}</a>
<time class="text-sm text-raven-500" datetime="{{ dateFormat "2006-01-02T15:04:05Z" .Date.UTC | safeHTML }}">{{ dateFormat $dateFormat .Date.Local }}</time>
</div>
</div>
|