Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
This is a jekyll photo gallery to manage large amounts of galleries and pictures. You can see the results at https://www.cheesy.at/fotos/.
Follow Jekyll's documentation on how to install plugins using "cheesy-gallery" as name for the gem and plugin.
After successful installation, enable gallery processing for a subdirectory of your site.
For this example, the folder is called _my_gallery
:
collections:
my_gallery:
cheesy-gallery: true
From now on, every Jekyll build will take all JPGs in all folders under _my_gallery
and create a gallery for each folder, linking them according to their structure in the file system.
To add a thumbnail to a gallery, put it inside the gallery folder and call it thumbnail.jpg
.
Frontmatter, like titles, etc., are read from the index.md
file in the gallery.
Galleries and their contents are sorted by filename.
To layout galleries, check out the example layout and adapt it to your site's style.
If you want an inline display of your photos, I recommend glightbox by biati-digital. Add their CSS and JavaScript to your assets, and link them in the <head>
of your site:
<link rel="stylesheet" href="{{ "/assets/glb/glightbox.min.css" | relative_url }}">
<script src="{{ "/assets/glb/glightbox.min.js" | relative_url }}"></script>
Then, in the gallery layout, add data-gallery="gallery"
attribute to the <a>
tag linking to each image, and put
<script type="text/javascript">
const lightbox = GLightbox({selector: '*[data-gallery]'});
</script>
at the bottom of the layout.
This plugin uses aggressive caching to keep render times short.
If you need to re-render images for any reason, remove the .jekyll-cache
folder or change the _config.yml
file.
See the Cache API tutorial for some background.
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment. There is also a test site in spec/fixtures/test_site
that you can use to try out changes.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/DavidS/cheesy-gallery. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct. See code of conduct for a local copy.
FAQs
Unknown package
We found that cheesy-gallery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.