diff options
| author | Reorx <novoreorx@gmail.com> | 2022-05-27 01:24:34 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-05-27 01:24:34 +0800 |
| commit | b2151271868f9b57c930269562bc02884be3cb34 (patch) | |
| tree | 458b809b84d64ae7802cffeee426754370994f0f | |
| parent | 8502ea49d4435527789f37efabffab1a46bc86c5 (diff) | |
add figure-img shortcode
| -rw-r--r-- | layouts/shortcodes/figure-img.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/figure-img.html b/layouts/shortcodes/figure-img.html new file mode 100644 index 0000000..49057c8 --- /dev/null +++ b/layouts/shortcodes/figure-img.html @@ -0,0 +1,5 @@ +<figure class="center align-center"> + {{ .Inner | markdownify }} + + <figcaption><p>{{ .Get 0 | markdownify }}</p></figcaption> +</figure> |
