website-theme/layouts/index.html

33 lines
908 B
HTML
Raw Normal View History

2018-09-23 11:11:35 +00:00
<!DOCTYPE html>
<html>
2019-03-23 07:18:03 +00:00
{{- partial "head.html" . -}}
<body>
<div id="profileContainer">
<div id="profile">
<header>
<!-- avator -->
<div class="avatar">
<img class="avatarMask" src="/img/{{ .Site.Params.avatar }}" alt="avatar">
<img src="/img/avatar-border.svg" alt="avatar-border">
</div>
<!-- author -->
<h1 class="author">{{ .Site.Params.Author }}</h1>
</header>
<!-- description -->
2019-03-23 07:18:03 +00:00
<p>
2019-07-29 09:05:21 +00:00
{{ .Site.Params.description | safeHTML }}
2019-03-23 07:18:03 +00:00
</p>
<!-- navigation -->
<nav>
<ul>
{{ range .Site.Menus.main }}
2019-05-05 15:33:05 +00:00
<li><a href="{{ .URL }}" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
2019-03-23 07:18:03 +00:00
{{ end }}
</ul>
</nav>
</div>
</div>
{{- partial "footer.html" . -}}
</body>
2018-09-23 11:11:35 +00:00
</html>