diff options
author | tdro <tdro@noreply.example.com> | 2023-09-10 09:15:05 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-09-10 09:15:05 -0400 |
commit | 1a5ebb6311a058e45a849642118b7b1d6fc7eecb (patch) | |
tree | 56cc3d2f20880b7d8af1229dfa0e5854e86a5b96 /themes/default/layouts | |
parent | 28a83a7c92689f9923890f21288d56f1dcf1a54d (diff) | |
download | canory-1a5ebb6311a058e45a849642118b7b1d6fc7eecb.tar.gz canory-1a5ebb6311a058e45a849642118b7b1d6fc7eecb.tar.bz2 canory-1a5ebb6311a058e45a849642118b7b1d6fc7eecb.zip |
themes/default/layouts/partials/profile: Better semantic structure
Diffstat (limited to 'themes/default/layouts')
-rw-r--r-- | themes/default/layouts/partials/profile.html | 28 |
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> |