Move all the figure shortcodes to /layouts/shortcodes/figures; center all of them
This commit is contained in:
parent
ead979da00
commit
542866489d
12 changed files with 43 additions and 37 deletions
5
layouts/shortcodes/figures/p5.html
Normal file
5
layouts/shortcodes/figures/p5.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue