Import the code and image shortcodes from the old website
Update the styles for code, image, and youtube figures.
This commit is contained in:
parent
c7b772e727
commit
d17ec7f48f
3 changed files with 66 additions and 12 deletions
4
layouts/shortcodes/figure/code.html
Normal file
4
layouts/shortcodes/figure/code.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{- $trimmedInner := trim .Inner "\n " -}}
|
||||
<figure class="figure figure--code">
|
||||
{{ $.Page.RenderString $trimmedInner }}
|
||||
</figure>
|
||||
Loading…
Add table
Add a link
Reference in a new issue