diff options
Diffstat (limited to 'themes/default/layouts/partials/context-profile.html')
-rw-r--r-- | themes/default/layouts/partials/context-profile.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/context-profile.html b/themes/default/layouts/partials/context-profile.html new file mode 100644 index 0000000..91446a9 --- /dev/null +++ b/themes/default/layouts/partials/context-profile.html @@ -0,0 +1,22 @@ +{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }} + +<context-profile> + <context-menu> + <section> + <aside> + <figure> + <a title="{{ $author.name }}" href="/{{ $author.user }}"> + <picture> + <img alt="{{ $author.name }}" src="/{{ $author.user }}/media/profile/picture.png" /> + </picture> + </a> + </figure> + </aside> + <aside> + <h1>{{ $author.name }}</h1> + <h2>@{{ $author.user }}</h2> + </aside> + </section> + <p>{{- $author.description | markdownify -}}</p> + </context-menu> +</context-profile> |