Add support for images in content

This commit is contained in:
ItsDrike 2021-08-27 00:01:05 +02:00
parent 60849fcdc6
commit fa18460df0
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -1,3 +1,8 @@
{{ if .Params.image }}
<img class="mb-3 header-image" src='{{ .Params.image }}' />
{{ end }}
<h1 class="display-4">{{ .Title }}</h1>
{{ if .Params.subtitle }}
<h5 class="my-3">{{ markdownify .Params.subtitle | emojify }}</h5>