This project follows semantic versioning
, meaning any new minor version (e.g. 1.1.0 -> 1.2.0) only introduces new features without breaking changes, and breaking changes are only introduced in major versions (e.g. 1.1.0 -> 2.0.0).
This means you can safely upgrade from one minor version to the next one.
Inside the folder of your Hugo site, run the following command:
In other words, photos displayed in the gallery must be in a images subfolder, and track(s) -if any- must be at the same level as the content. Supported formats for tracks are GPX (.gpx files), KML (.kml files) and GeoJSON (.geojson files).
Additionnally, the content of the post:
requires an images parameter, refering to at least one picture from this post, which will be used as thumbnail in the home gallery,
can have a seealso parameter, refering to one or multiple other posts.
title: "Lac de la Muzelle et lac Lauvitel"
seealso: ["posts/lac-lauvitel", "posts/lac-muzelle"] # If single, can avoid the brackets
Cat ipsum dolor sit amet, hide from vacuum cleaner swat turds around the house hate dog don't nosh on the birds.
Tweaking your site
In order to work, this theme does not require anything specific from the configuration of your site.
Some additionnal parameters are available to tweak your site, described in the documentation
From the folder of your Hugo website, run the following commands to update to the latest version:
cd themes/hugo-split-gallery && git pull
For reference on site parameters, post parameters and warnings, see the documentation
This theme is licensed under the GPLv3 license
, except for the photos distributed with the example site which are not free to use.
This theme includes fancybox
, which is not free to use for commercial applications. If you wish to use this theme in commercial applications, you will need to get a commercial license from fancybox
All other third-parties included are free to use (under MIT License, SIL OFL 1.1, BSD-2-Clause).
@beva-sdev: Czech and German translations, numerous bug reporting
If you find a bug or have an idea for a feature, feel free to use the issue tracker
to let me know.
In case you want to merge some code, you are more than welcome to open merge requests (with or without a related issue). Please branch from the next version of this repo and target the next branch for the merge request, as main is reserved for tagged versions. Please also note this theme follows semantic versioning, thus don’t introduce breaking changes if they are not necessary.
If you wish to add a new translation, there are two files to create:
i18n/<language>.toml, containing main theme translations