#3 Multiple galleries

Open
opened 2 years ago by jhabdas · 0 comments
jhabdas commented 2 years ago (Migrated from git.habd.as)
Owner

Refactor pwsp.html out of customized post layout and create a shortcode and component for use in custom layouts.

For the shortcode something like this:

{{< gallery id="uploads/protonmail/*fs8.png" headless="true" >}}

Where globbing can be specified, and galleries are relative to the leaf bundle unless headless is specified in which case they can grab from a headless page bundle.

See also #19 and consider integrating with the Figure Shortcode to enhance image metadata in After Dark.

Refactor `pwsp.html` out of customized post layout and create a shortcode and component for use in custom layouts. - [ ] Provide support for [headless bundles](https://gohugo.io/content-management/page-bundles/#headless-bundle), e.g. `{{ range (.Site.GetPage "/uploads").Resources }}` - [ ] Add module setting allowing users to set a custom `matcher` to override `"*gallery*"` default. For the shortcode something like this: ```html {{< gallery id="uploads/protonmail/*fs8.png" headless="true" >}} ``` Where globbing can be specified, and galleries are relative to the leaf bundle unless `headless` is specified in which case they can grab from a headless page bundle. See also #19 and consider integrating with the `Figure` Shortcode to enhance image metadata in After Dark.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.