
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
github.com/d-oit/hinode-mod-image-lightbox-gallery
A lightbox image function and gallery shortcode for Hugo compatible with Hinode
Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. Visit the Hinode documentation site for installation instructions.
This module uses semantic-release to automate the release of new versions. The package uses husky
and commitlint
to ensure commit messages adhere to the Conventional Commits specification. You can run npx git-cz
from the terminal to help prepare the commit message.
This module supports the following parameters (see the section params.modules
in config.toml
):
{{< gallery >}}
imagePath
: The path to the images. Default is "submit". Define the files in the front matter .md file like this:
- src: "img/bird.jpg"
title: "Example caption 1"
params:
description: "Description for bird image
new line test
end of line
"
useExifCaption
: Whether to use EXIF captions. Default is false.
useRandomImageStack
: Whether to randomize the image stack. Default is false.
imageCssClass
: CSS class for the images. Default is "lightbox size-medium".
ratio
: Aspect ratio of the images. Default is auto.
loading
: Loading attribute for the images. Default is lazy.
searchclass
: CSS class for the search input. Default is md.
showGalleryImageCaption
: Whether to show the gallery image caption. Default is true.
showSearch
: Whether to show the search input. Default is false.
galleryCssClass
: CSS class for the gallery. Default is normal-gallery.
caption
: Hinode image figure for the image. Default is an empty string. Define the lightbox caption in front matter.
You can customize the gallery by modifying the CSS styles in the image-lightbox-gallery.scss
file located in the assets/scss
directory.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.