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

19 lines
610 B
HTML
Raw Normal View History

2021-03-05 09:44:42 +00:00
{{ with .Site.Params.about }}
<div class="aside__about">
2021-03-05 11:34:45 +00:00
{{ with .logo }}<img class="about__logo" src="{{ . | absURL }}" alt="Logo">{{ end }}
2021-03-05 09:44:42 +00:00
<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>
&nbsp;
2021-03-05 09:44:42 +00:00
</li>
{{ end }}
</ul>