Move all the figure shortcodes to /layouts/shortcodes/figures; center all of them

This commit is contained in:
Eryn Wells 2022-08-20 09:38:27 -07:00
parent ead979da00
commit 542866489d
12 changed files with 43 additions and 37 deletions

View file

@ -0,0 +1,5 @@
{{ $id := .Get "id" }}
{{ .Page.Scratch.Set "includes_p5_sketch" true }}
<div class="centered">
<figure class="p5-sketch {{ with .Get "bordered" }}bordered{{ end }}" id="{{ $id }}"></figure>
</div>