diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 11:50:19 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 11:50:19 +0530 |
commit | 4d53954be9a98d67531794956f6376bba01af86d (patch) | |
tree | a76071adc0101caf48ace9a9219c4c304ba7905a /layouts/_default/single.html | |
parent | 68abbb9eb2449a674ec4f8d47ecf44771c8c2ec6 (diff) |
added 404 page
Diffstat (limited to 'layouts/_default/single.html')
-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 }} |