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

16 lines
579 B
HTML
Raw Permalink 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>
2021-08-23 13:20:19 +00:00
<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>