blag/layouts/partials/header.html
Chris Hodapp 94310f0f9d Migrate *all* photos to the cavelab setup. Header/footer still broken.
Completely remove the other image gallery themes.

I now have: image galleries, with lightboxes, and captions, with links
in them (and to Hugo pages), with full images lazy-loaded, with all
thumbnails auto-generated, and the ability to do this on both
individual images *and* with globbing, from page resources, from this
page or any specified one.  See cavelab_notes.txt.

It also has the ability to use Exif data of the photo - if I
preprocess it into a JSON file.

Known issues:
- The theme header/footer are now being overridden.  I am working to
  fix this first.
- I am missing some kind of fonts/images needed for the lightbox to
  show up properly.
2022-09-04 12:31:08 -04:00

9 lines
381 B
HTML

<!-- From https://blog.cavelab.dev/2021/04/photo-gallery-posts/ -->
{{- if and (eq .Type "photos") (eq .Kind "page") -}}
<link rel="stylesheet" href="{{ (resources.Get "assets/lightgallery.css" | fingerprint).Permalink }}" />
{{- end -}}
<!-- lightgallery is: https://github.com/sachinchoolur/lightGallery -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/custom.css">