aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/author-card.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/author-card.html')
-rw-r--r--themes/default/layouts/partials/author-card.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html
new file mode 100644
index 0000000..bbb79b0
--- /dev/null
+++ b/themes/default/layouts/partials/author-card.html
@@ -0,0 +1,23 @@
+<micro-author>
+ <micro-card>
+ <micro-summary>
+ <micro-thumbnail>
+ <figure>
+ <a title="{{ .Data.name }}" href="/{{ .Data.user }}#">
+ <picture>
+ <img alt="{{ .Data.name }}" src="/{{ .Data.user }}/media/profile/picture.png" />
+ </picture>
+ </a>
+ </figure>
+ </micro-thumbnail>
+ <micro-header>
+ <h1>{{ .Data.name }}</h1>
+ <h2><a title="" href="/{{ .Data.user }}">@{{ .Data.user }}</a></h2>
+ </micro-header>
+ <a title="RSS" href="/{{ .Data.user }}/rss.xml">
+ {{ safeHTML (readFile "static/icons/feather/rss.svg") }}
+ <span>Follow</span>
+ </a>
+ </micro-summary>
+ </micro-card>
+</micro-author>