diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e0e8308..1ecd70a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,3 +1,7 @@ {{ define "main" }} + {{ if .Params.headerImg }} + <img id="header-img" src="{{ .Params.headerImg }}" alt="{{ if .Params.headerAlt }}{{ .Params.headerAlt }}{{ else }}Header Image{{ end }}"> + {{ end }} + {{ .Content }} {{ end }} |