feat: add gallery shortcode
BIN
content/shortcodes/01-zola.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
content/shortcodes/02-zola-manet.png
Normal file
|
After Width: | Height: | Size: 324 KiB |
BIN
content/shortcodes/03-zola-cezanne.png
Normal file
|
After Width: | Height: | Size: 357 KiB |
BIN
content/shortcodes/04-gutenberg.jpg
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
content/shortcodes/05-example.jpg
Normal file
|
After Width: | Height: | Size: 192 KiB |
BIN
content/shortcodes/06-example.jpg
Normal file
|
After Width: | Height: | Size: 204 KiB |
BIN
content/shortcodes/07-example.jpg
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
content/shortcodes/08-example.jpg
Normal file
|
After Width: | Height: | Size: 250 KiB |
|
|
@ -156,3 +156,15 @@ The `example` admonition.
|
|||
{% admonition(type="quote", title="quote") %}
|
||||
The `quote` admonition.
|
||||
{% end %}
|
||||
|
||||
## Gallery
|
||||
|
||||
The `admonition()` shortcode is very simple html-only clickable picture gallery that displays all images from the page assets.
|
||||
|
||||
It's from [Zola documentation](https://www.getzola.org/documentation/content/image-processing/)
|
||||
|
||||
```markdown
|
||||
{{/* gallery() */}}
|
||||
```
|
||||
|
||||
{{ gallery() }}
|
||||