More Premium Hugo Themes Premium Hugo Themes

Hugo Shortcode Gallery

A theme component with a gallery shortcode for the static site generator hugo.

Hugo Shortcode Gallery

A theme component with a gallery shortcode for the static site generator hugo.

Author Avatar Theme by mfg92
Github Stars Github Stars: 415
Last Commit Last Commit: Oct 9, 2024 -
First Commit Created: Dec 18, 2023 -
Hugo Shortcode Gallery screenshot

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:

  1. Clone the git repository into your themes folder.
  2. Edit your project’s config.toml file 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.