img and icon options

This commit is contained in:
Luke Smith
2022-06-23 07:59:22 -04:00
parent 732534b367
commit f84be8e41b
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
{{ partial "header.html" . }}
<header><h1>{{ .Title }}</h1></header>
<header><h1>{{ with .Params.icon }}<img src="/pix/{{ . }}" class=titleimg>{{ end }}{{ .Title }}</h1></header>
<article>
<article>{{ with .Params.img }}<img src="/pix/{{ . }}" class=titleimg>{{ end }}
{{ .Content }}