Add .figure class to code and image figures

This commit is contained in:
Eryn Wells 2024-10-12 11:27:38 -07:00
parent 830f22d6ba
commit 4da0aeca1a
2 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{{- $trimmedInner := trim .Inner "\n " -}}
<figure class="code">
<figure class="figure figure--code">
{{ $.Page.RenderString $trimmedInner }}
</figure>