Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Captions #16

Open
codello opened this issue Mar 15, 2021 · 1 comment
Open

Image Captions #16

codello opened this issue Mar 15, 2021 · 1 comment

Comments

@codello
Copy link

codello commented Mar 15, 2021

Hey, I just discovered this project. Very cool. Is there a way to add captions to images (e.g. a title or some metadata)? I saw that in the template.go there is something about a caption but I wasn't able to find any related code how to add captions to images.
https://github.com/moulco/moul/blob/bfe9508bb78acff67a0979cc9751309ecf7d0fa0/internal/template.go#L514-L516

If this is currently not possible it might be a useful feature in the future.

@thasophearak
Copy link
Member

👋 @codello

That section you highlight is use by PhotoSwipe. The photo collection section on the page is actually generate via client side JavaScript https://github.com/moulco/moul-collection/blob/master/src/index.js

If this is currently not possible it might be a useful feature in the future.

I'll added it into my list. Thank!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants