congo/layouts/partials/author.html

16 lines
501 B
HTML

{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
<div class="flex items-center pt-8">
{{ with .Site.Author.image }}
<img class="w-24 h-24 !mt-0 !mb-0 mr-4 rounded-full" src="{{ . }}" />
{{ end }}
<div>
{{ with .Site.Author.name }}
<div class="font-semibold leading-6 text-gray-800 dark:text-gray-300">
{{ . }}
</div>
{{ end }}
{{ partialCached "author-links.html" . }}
</div>
</div>
{{ end }}