diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 11:08:03 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 11:08:03 +0530 |
commit | 6beddafb1752d49bfc773e067b4d07c6063d152d (patch) | |
tree | 0cba3404cd5780b9e0737a61f10e5eb03c4b9b0d /layouts | |
parent | 77d4a98a666ef6c2c18c10f2f2d62210f9eeb752 (diff) |
styled code blocks, added header in blog
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/blog/list.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 9040dea..59fb599 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -8,6 +8,10 @@ {{ end }} </h1> + {{ if .Params.headerImg }} + <img id="header-img" src="{{ .Params.headerImg }}" alt="{{ if .Params.headerAlt }}{{ .Params.headerAlt }}{{ else }}Header Image{{ end }}"> + {{ end }} + {{ .Content }} {{ if .Sections }} |