summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 11:50:19 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-27 11:50:19 +0530
commit4d53954be9a98d67531794956f6376bba01af86d (patch)
treea76071adc0101caf48ace9a9219c4c304ba7905a /layouts/_default
parent68abbb9eb2449a674ec4f8d47ecf44771c8c2ec6 (diff)
added 404 page
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html4
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 }}