mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-09 21:49:41 +00:00
Add support for images in content
This commit is contained in:
parent
60849fcdc6
commit
fa18460df0
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue