hugo-page-test/themes/tsc_vfl/layouts/shortcodes/tsc/float-image-right.html

6 lines
158 B
HTML
Raw Permalink Normal View History

2023-01-21 07:36:37 +00:00
{{ $src := .Get "src" }}
<img class="image float-right"
{{ with .Get "alt" }}alt="{{ . }}"{{ end }}
src="{{ ($.Page.Resources.GetMatch $src)}}"
>