feat: add logo to home info page

This commit is contained in:
leovct
2023-05-10 02:41:44 +02:00
committed by Léo Vincent
parent 6f29d35d73
commit b026ce8ec6
2 changed files with 32 additions and 3 deletions

View File

@ -1,10 +1,16 @@
{{- with site.Params.homeInfoParams }}
<article class="first-entry home-info">
<header class="entry-header">
<h1>{{ .Title | markdownify }}</h1>
<h1>{{ .title | markdownify }}</h1>
</header>
<div class="entry-content">
{{ .Content | markdownify }}
<div class="home-info-container" target="_blank">
<a href="{{ .image.link | absURL }}" target="_blank">
<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>
<footer class="entry-footer">
{{ partial "social_icons.html" site.Params.socialIcons }}