aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/profile.html')
-rw-r--r--themes/default/layouts/partials/profile.html38
1 files changed, 14 insertions, 24 deletions
diff --git a/themes/default/layouts/partials/profile.html b/themes/default/layouts/partials/profile.html
index fc68c0b..e0c339b 100644
--- a/themes/default/layouts/partials/profile.html
+++ b/themes/default/layouts/partials/profile.html
@@ -1,29 +1,20 @@
{{- $author := partial "function-authors-data.html" . -}}
-<micro-header>
+<profile-box>
+ <picture data-type="banner">
+ {{ partial "author-header.html" . }}
+ </picture>
- <micro-header-banner>
- <picture>
- {{ partial "author-header.html" . }}
- </picture>
- </micro-header-banner>
-
- <micro-header-picture>
- <picture>
- {{ partial "author-picture.html" . }}
- </picture>
- </micro-header-picture>
+ <picture data-type="profile">
+ {{ partial "author-picture.html" . }}
+ </picture>
<section>
- <micro-header-title>
+ <aside>
<h2>{{ $author.name }}</h2>
<h3>@{{ $author.user }}</h3>
- </micro-header-title>
- <micro-header-description>
- <p>
- {{ $author.description | markdownify }}
- </p>
- </micro-header-description>
+ </aside>
+ <p>{{ $author.description | markdownify }}</p>
</section>
<footer>
@@ -42,11 +33,10 @@
<span>{{- $author.epoch | markdownify -}}</span>
</p>
<p>
- {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/user.svg")) }}
- <span><b>{{ with $author.feeds.rss }}{{ len . }}{{ else }} 0 {{ end }}</b> Following</span>
+ {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/rss.svg")) }}
+ <span><b>{{ with $author.feeds.rss }}{{ len . }}{{ else }} 0 {{ end }}</b> Feeds</span>
</p>
</footer>
+</profile-box>
- {{ partial "profile-tabs.html" . }}
-
-</micro-header>
+{{- partial "profile-tabs.html" . -}}