jhvanderschee / hugocodex

A website for front-end developers who want to learn Hugo.
http://hugocodex.org
22 stars 11 forks source link

How to use lightbox? #16

Closed c3rberus closed 1 year ago

c3rberus commented 1 year ago

I am trying to use the lightbox add-on, saved the js/css but I am confused with step 3 (modifying footer of your layout document looks like this:). What file do we need to add this in? I am using the smigle hugo theme and your image gallery add-in, tried adding it to themes\smigle\layouts\partials\footer.html but no go.

Can you provide more instructions for step 3?

jhvanderschee commented 1 year ago

I would add it in the footer of this one: https://github.com/rosorio/smigle-hugo-theme/blob/main/layouts/_default/baseof.html