website-theme/layouts/partials/header.html

14 lines
616 B
HTML
Raw Normal View History

2022-02-15 06:13:11 +00:00
<header class="h-card p-author">
2019-03-23 07:18:03 +00:00
<!-- avator -->
<div class="avatar">
2022-02-15 06:13:11 +00:00
<img class="avatarMask u-photo" src="{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}" alt="{{ .Site.Params.avatarDescription }}">
2020-03-27 09:03:57 +00:00
<a href="{{ .Site.BaseURL }}"><img class="avatar-border" src="{{ .Site.BaseURL }}/img/avatar-border.svg" alt=""></a>
2019-03-23 07:18:03 +00:00
</div>
<!-- author -->
2022-02-15 06:13:11 +00:00
<h2 class="p-name"><a class="author u-url" rel="me" href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a></h2>
<!-- description (for h-card) -->
<p style="display: none" class="p-note">
{{ .Site.Params.description | safeHTML }}
</p>
2019-03-23 07:18:03 +00:00
</header>