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

feat: add the img-grid shortcode #105

Merged
merged 1 commit into from
Jan 13, 2024
Merged

feat: add the img-grid shortcode #105

merged 1 commit into from
Jan 13, 2024

Conversation

razonyang
Copy link
Member

@razonyang razonyang commented Jan 13, 2024

Related to #100 and #103.

{{< bs/img-grid "img-grid-examples" >}}

img-grid-examples is the data filename.

data/img-grid-examples.yaml as follows:

- src: foo.png
  title: Foo
  url: https://example.org/

- src: bar.png
  title: Bar
  • src: required, the source/name of image.
  • title: required, the title of image, which used as alt and caption.
  • url: optional.

@razonyang razonyang merged commit b45a888 into main Jan 13, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

1 participant