hugo-PaperMod/layouts/partials/home_info.html

20 lines
804 B
HTML
Raw Normal View History

{{- with site.Params.homeInfoParams }}
<article class="first-entry home-info">
<header class="entry-header">
2023-05-10 02:41:44 +02:00
<h1>{{ .title | markdownify }}</h1>
</header>
2023-05-10 02:41:44 +02:00
<div class="home-info-container" target="_blank">
2023-05-10 02:50:29 +02:00
<a href="{{ .image.link | absURL }}" target="_blank" rel="noopener">
2023-05-10 02:41:44 +02:00
<img draggable="false" src="{{ .image.url | absURL }}" alt=" {{ .image.title | default "profile image" }}"
title="{{ .image.title }}" height="{{ .image.height | default 150 }}" width="{{ .image.width | default 150 }}" />
</a>
<div class="entry-content">
{{ .content | markdownify }}
</div>
</div>
2020-08-28 13:49:10 +02:00
<footer class="entry-footer">
{{ partial "social_icons.html" site.Params.socialIcons }}
2020-08-28 13:49:10 +02:00
</footer>
</article>
2021-03-30 14:37:36 +02:00
{{- end -}}