website-theme/layouts/index.html
2020-03-26 08:57:14 -07:00

32 lines
960 B
HTML

<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
<div id="profileContainer">
<div id="profile">
<header>
<!-- avator -->
<div class="avatar">
<img class="avatarMask" src="/img/{{ .Site.Params.avatar }}" alt="{{ .Site.Params.avatarDescription }}">
<img src="/img/avatar-border.svg" class="avatar-border" alt="avatar-border">
</div>
<!-- author -->
<h1 class="author">{{ .Site.Params.Author }}</h1>
</header>
<!-- description -->
<p>
{{ .Site.Params.description | safeHTML }}
</p>
<!-- navigation -->
<nav>
<ul>
{{ range .Site.Menus.main }}
<li><a href="{{ .URL }}" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
{{ end }}
</ul>
</nav>
</div>
</div>
{{- partial "footer.html" . -}}
</body>
</html>