Overview
The hugo-shortcode-gallery is a theme component for Hugo, a static site generator. This component allows users to include a gallery in their .md files using a shortcode. The gallery is rendered with autogenerated thumbnails arranged in a grid. Clicking on the images opens a lightbox where all images can be viewed in fullscreen.
Features
- Shortcode for including galleries in .md files
- Autogenerated thumbnails arranged in a grid
- Lightbox for viewing images in fullscreen
Installation
To install the hugo-shortcode-gallery theme component, follow these steps:
- Clone the git repository into your themes folder.
- Edit your project’s
config.tomlfile and add this theme component to your themes.
For more information on how to use Hugo’s theme components, refer to the documentation at https://gohugo.io/hugo-modules/theme-components/.
Summary
The hugo-shortcode-gallery is a theme component for Hugo that allows users to easily add galleries to their static site. It provides autogenerated thumbnails arranged in a grid and a lightbox for viewing images in fullscreen. The installation process is simple and can be done by cloning the git repository and adding the theme component to your project’s configuration file.