tlwiki-hugo-theme/layouts/partials/about.html

18 lines
580 B
HTML
Raw Normal View History

2021-03-05 09:44:42 +00:00
{{ with .Site.Params.about }}
<div class="aside__about">
{{ with .logo }}<img class="about__logo" src="{{ . | absURL }}">{{ end }}
<h1 class="about__title">{{ .title }}</h1>
{{ with .description }}<p class="about__description">{{ . | markdownify }}</p>{{ end }}
</div>
{{ end }}
<ul class="aside__social-links">
{{ range $item := .Site.Params.socialLinks }}
<li>
<a href="{{ $item.url }}" rel="me" aria-label="{{ $item.title }}" title="{{ $item.title }}">
<i class="{{ $item.icon }}" aria-hidden="true"></i>
</a>
</li>
{{ end }}
</ul>