diff --git a/content/shortcodes/01-zola.png b/content/shortcodes/01-zola.png new file mode 100644 index 0000000..4407256 Binary files /dev/null and b/content/shortcodes/01-zola.png differ diff --git a/content/shortcodes/02-zola-manet.png b/content/shortcodes/02-zola-manet.png new file mode 100644 index 0000000..b426192 Binary files /dev/null and b/content/shortcodes/02-zola-manet.png differ diff --git a/content/shortcodes/03-zola-cezanne.png b/content/shortcodes/03-zola-cezanne.png new file mode 100644 index 0000000..628823b Binary files /dev/null and b/content/shortcodes/03-zola-cezanne.png differ diff --git a/content/shortcodes/04-gutenberg.jpg b/content/shortcodes/04-gutenberg.jpg new file mode 100644 index 0000000..0b031e9 Binary files /dev/null and b/content/shortcodes/04-gutenberg.jpg differ diff --git a/content/shortcodes/05-example.jpg b/content/shortcodes/05-example.jpg new file mode 100644 index 0000000..77ed919 Binary files /dev/null and b/content/shortcodes/05-example.jpg differ diff --git a/content/shortcodes/06-example.jpg b/content/shortcodes/06-example.jpg new file mode 100644 index 0000000..483a842 Binary files /dev/null and b/content/shortcodes/06-example.jpg differ diff --git a/content/shortcodes/07-example.jpg b/content/shortcodes/07-example.jpg new file mode 100644 index 0000000..6972f7a Binary files /dev/null and b/content/shortcodes/07-example.jpg differ diff --git a/content/shortcodes/08-example.jpg b/content/shortcodes/08-example.jpg new file mode 100644 index 0000000..99837c2 Binary files /dev/null and b/content/shortcodes/08-example.jpg differ diff --git a/content/shortcodes.md b/content/shortcodes/index.md similarity index 91% rename from content/shortcodes.md rename to content/shortcodes/index.md index 78162be..18ee325 100644 --- a/content/shortcodes.md +++ b/content/shortcodes/index.md @@ -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() }} diff --git a/static/processed_images/01-zola.7c3a26eed1c7ab5f.png b/static/processed_images/01-zola.7c3a26eed1c7ab5f.png new file mode 100644 index 0000000..7919181 Binary files /dev/null and b/static/processed_images/01-zola.7c3a26eed1c7ab5f.png differ diff --git a/static/processed_images/02-zola-manet.e4241a911597aca7.png b/static/processed_images/02-zola-manet.e4241a911597aca7.png new file mode 100644 index 0000000..b72c107 Binary files /dev/null and b/static/processed_images/02-zola-manet.e4241a911597aca7.png differ diff --git a/static/processed_images/03-zola-cezanne.6a107e2be8013406.png b/static/processed_images/03-zola-cezanne.6a107e2be8013406.png new file mode 100644 index 0000000..7fb9d59 Binary files /dev/null and b/static/processed_images/03-zola-cezanne.6a107e2be8013406.png differ diff --git a/static/processed_images/04-gutenberg.faa753e9bf9c7908.jpg b/static/processed_images/04-gutenberg.faa753e9bf9c7908.jpg new file mode 100644 index 0000000..593fb78 Binary files /dev/null and b/static/processed_images/04-gutenberg.faa753e9bf9c7908.jpg differ diff --git a/static/processed_images/05-example.ae15f30d897ab593.jpg b/static/processed_images/05-example.ae15f30d897ab593.jpg new file mode 100644 index 0000000..084ed0b Binary files /dev/null and b/static/processed_images/05-example.ae15f30d897ab593.jpg differ diff --git a/static/processed_images/06-example.c154d01e3ae79960.jpg b/static/processed_images/06-example.c154d01e3ae79960.jpg new file mode 100644 index 0000000..be4c4a3 Binary files /dev/null and b/static/processed_images/06-example.c154d01e3ae79960.jpg differ diff --git a/static/processed_images/07-example.0bae5e2aea7a32b4.jpg b/static/processed_images/07-example.0bae5e2aea7a32b4.jpg new file mode 100644 index 0000000..b4d3422 Binary files /dev/null and b/static/processed_images/07-example.0bae5e2aea7a32b4.jpg differ diff --git a/static/processed_images/08-example.5c0108fc0d117d1c.jpg b/static/processed_images/08-example.5c0108fc0d117d1c.jpg new file mode 100644 index 0000000..6b6f170 Binary files /dev/null and b/static/processed_images/08-example.5c0108fc0d117d1c.jpg differ diff --git a/templates/shortcodes/gallery.html b/templates/shortcodes/gallery.html new file mode 100644 index 0000000..abd4c50 --- /dev/null +++ b/templates/shortcodes/gallery.html @@ -0,0 +1,11 @@ +