website-theme/layouts/index.html

33 lines
965 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">
2021-10-12 04:58:03 +00:00
<header class="home">
2019-03-23 07:18:03 +00:00
<!-- avator -->
<div class="avatar">
2020-12-01 01:33:14 +00:00
<img class="avatarMask" src="{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}" alt="avatar">
<img src="{{ .Site.BaseURL }}/img/avatar-border.svg" alt="avatar-border">
2019-03-23 07:18:03 +00:00
</div>
<!-- author -->
<h1 class="author title">{{ .Site.Params.Author }}</h1>
2019-03-23 07:18:03 +00:00
</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>