2022-03-27 15:14:06 +02:00
|
|
|
{{- with site.Params.homeInfoParams }}
|
2020-10-08 12:20:20 +02:00
|
|
|
<article class="first-entry home-info">
|
2020-07-23 12:54:44 +02:00
|
|
|
<header class="entry-header">
|
2023-05-10 02:41:44 +02:00
|
|
|
<h1>{{ .title | markdownify }}</h1>
|
2020-07-23 12:54:44 +02:00
|
|
|
</header>
|
2023-05-10 02:58:53 +02:00
|
|
|
<div class="home-info-container">
|
2023-05-10 03:09:36 +02:00
|
|
|
{{- if .image.url}}
|
|
|
|
{{- if .image.link -}}
|
|
|
|
<a href="{{ .image.link | absURL }}" target="_blank" rel="noopener" style="width: 100%">
|
|
|
|
<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>
|
|
|
|
{{- else }}
|
|
|
|
<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 }}" />
|
|
|
|
{{- end }}
|
|
|
|
{{- end}}
|
2023-05-10 02:41:44 +02:00
|
|
|
<div class="entry-content">
|
|
|
|
{{ .content | markdownify }}
|
|
|
|
</div>
|
2022-04-19 17:04:59 +02:00
|
|
|
</div>
|
2020-08-28 13:49:10 +02:00
|
|
|
<footer class="entry-footer">
|
2022-03-27 15:14:06 +02:00
|
|
|
{{ partial "social_icons.html" site.Params.socialIcons }}
|
2020-08-28 13:49:10 +02:00
|
|
|
</footer>
|
2020-07-23 12:54:44 +02:00
|
|
|
</article>
|
2021-03-30 14:37:36 +02:00
|
|
|
{{- end -}}
|