website-theme/layouts/partials/header.html

14 lines
631 B
HTML
Raw Normal View History

2018-09-23 11:11:35 +00:00
<header>
2019-03-23 07:18:03 +00:00
<!-- avator -->
<div class="avatar">
2020-03-26 15:57:14 +00:00
<img class="avatarMask" 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 -->
2019-03-27 16:45:34 +00:00
<h2><a class="author" href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a></h2>
<!-- Alternative Formats -->
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
2019-03-23 07:18:03 +00:00
</header>