aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/author_card.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/author_card.html')
-rw-r--r--layouts/partials/author_card.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html
new file mode 100644
index 0000000..b23c3e7
--- /dev/null
+++ b/layouts/partials/author_card.html
@@ -0,0 +1,23 @@
+<article
+ class="max-w-screen-md mx-auto p-8 md:flex md:flex-row items-start border-t"
+>
+ <img
+ src="{{ .avatar }}"
+ class="rounded-full w-16 mx-auto md:m-4"
+ alt="{{ .name }}"
+ />
+ <div class="">
+ <h5 class="my-0 berkshire-swash">
+ <a href="{{ (default .path .homepage) }}" class="">
+ {{ .name }}
+ </a>
+ </h5>
+ <h6 class="font-light p-0 m-0">{{ .role | markdownify }}</h6>
+ <p class="mt-3">
+ {{ .bio }}
+ </p>
+ <div class="text-xl mt-4">
+ {{ partial "social_links" . }}
+ </div>
+ </div>
+</article>