hugo-coder-fork/layouts/partials/home.html

27 lines
706 B
HTML
Raw Normal View History

2018-03-01 01:38:59 +00:00
<section class="container centered">
<div class="about">
{{ with .Site.Params.avatarurl }}
2018-09-15 12:05:38 +00:00
<div class="avatar"><img src="{{ . }}" alt="avatar"></div>
{{ end }}
2018-03-01 01:38:59 +00:00
<h1>{{ .Site.Params.author }}</h1>
<h2>{{ .Site.Params.info }}</h2>
{{ with .Site.Params.social }}
2018-03-01 01:38:59 +00:00
<ul>
{{ range sort .}}
2018-08-22 11:36:14 +00:00
{{ if .icon }}
2018-12-20 16:21:11 +00:00
<li>
<a href="{{ .url }}" aria-label="{{ .name }}">
<i class="{{ .icon }}" aria-hidden></i>
</a>
</li>
2018-08-22 11:36:14 +00:00
{{ else }}
2018-12-20 16:21:11 +00:00
<li>
<a href="{{ .url }}" aria-label="{{ .name }}">{{ .name }}</a>
</li>
2018-08-22 11:36:14 +00:00
{{ end }}
2018-03-01 01:38:59 +00:00
{{ end }}
</ul>
{{ end }}
2018-03-01 01:38:59 +00:00
</div>
</section>