diff options
| author | Adam Whitlock <adam@adamwhitlock.com> | 2022-01-04 21:28:01 -0600 |
|---|---|---|
| committer | Adam Whitlock <adam@adamwhitlock.com> | 2022-01-04 21:48:33 -0600 |
| commit | 1f85dce9de0f94cb0deb0f4664ee75036ce11944 (patch) | |
| tree | bda8997e968eee209178e0c02fef3a9323f854ea /layouts/_default | |
| parent | 688365be7bc6b1e3ffac837956aafa33fd5a20de (diff) | |
Fixed header image import, added shortcodes
Any file matching "header.*" will now be used as a header.
Added shortcodes to site for centering images and text.
Updated README.md to reflect shortcodes.
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9abdc75..4ac5d36 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,7 @@ <div class="columns"> <div class="column"> <figure class="image "> - {{ with .Resources.GetMatch "header.jpg" }} + {{ with .Resources.GetMatch "header.*" }} <img src="data:{{ .MediaType }};base64,{{ .Content | base64Encode }}"> {{ end }} </figure> |
