diff options
Diffstat (limited to 'layouts/_shortcodes/float-image.html')
| -rw-r--r-- | layouts/_shortcodes/float-image.html | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/layouts/_shortcodes/float-image.html b/layouts/_shortcodes/float-image.html deleted file mode 100644 index 2c03992d..00000000 --- a/layouts/_shortcodes/float-image.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ $src := .Get 0 }} - -{{ $float := .Get 1 }} -{{ $padding := "" }} -{{ if eq $float "left" }} - {{ $padding = "pr-4 sm:pr-6 md:pr-8" }} -{{ else }} - {{ $padding = "pl-4 sm:pl-6 md:pr-8" }} -{{ end }} - -<figure style="float: {{ $float }}" class="{{ $padding }} w-25 sm:w-30 md:w-50"> - <img src="{{ $src }}" data-libra class="my-0" /> -</figure> |
