hexo-theme-icarus/source/_posts/plugin/Gallery.md

1.4 KiB

title: Gallery Plugin date: 2016-01-31 00:00:01 categories:

  • Plugins
  • General

You can create a gallery by just adding photos in the post, and enable the gallery plugin in the _config.yml:

plugins:
    gallery: true

Furthermore, you can also use Justified Gallery to display you photos in a grid:

{% codeblock lang:html HTML + Markdown %} <div class="justified-gallery"> <!-- Need an empty line here for the following markdown to be rendered --> Elephant Dog Birds Cat Fox Horse Leopard </div> {% endcodeblock %}

{% quote %} The following photos come from pexel.com {% endquote %}

Elephant Dog Birds Cat Fox Horse Leopard