rootdo/themes/risotto/layouts/partials/about.html

17 lines
672 B
HTML
Raw Permalink Normal View History

2024-10-04 12:44:59 +00:00
{{ with .Site.Params.about }}
<div class="aside__about">
{{ with .logo }}<span class="about__logo" role="img">{{ . }}</span>&nbsp;{{ end }}
{{ with .logo_image }}<img class="about__logo" src="{{ . | absURL }}" alt="Logo">{{ 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>&nbsp;
</li>
{{ end }}
</ul>