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.html28
1 files changed, 9 insertions, 19 deletions
diff --git a/themes/default/layouts/partials/profile.html b/themes/default/layouts/partials/profile.html
index fc68c0b..2043e49 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>
+ <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>
@@ -48,5 +39,4 @@
</footer>
{{ partial "profile-tabs.html" . }}
-
</micro-header>