layouts/shortcodes/placehold.html
{{ $width := .Get 0 }}
{{ $height := .Get 1 }}
<img src="https://placehold.it/{{$width}}x{{$height}}" alt="Placehold image"/>
We can now call
{{placehold 250 250}}
we end up with
have you built any cool custom shortcodes?
Top comments (0)