single.html: center featured_image above title

This commit is contained in:
Rico Ullmann 2022-03-25 22:17:20 +01:00
parent 9a2e16495c
commit 84d4a46d1e
Signed by: rullmann
GPG Key ID: AE1066B5BD0B5041
1 changed files with 4 additions and 2 deletions

View File

@ -2,12 +2,14 @@
<div class="section">
<article class="container">
<header>
<div class="is-flex">
{{ with .Params.featured_image }}
<figure class="image is-96x96" style="margin-right: 0.5em;">
<center>
<figure class="image is-128x128">
<img alt="{{ . }}" class="is-rounded" src="{{ . }}" />
</figure>
</center>
{{ end }}
<div class="is-flex">
<div>
<h1 class="title is-1">
{{ .Title }}