Skip to content

Instantly share code, notes, and snippets.

@andrewrubin
Last active June 17, 2022 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewrubin/88b04a09ffadb549bb486d608ee624c4 to your computer and use it in GitHub Desktop.
Save andrewrubin/88b04a09ffadb549bb486d608ee624c4 to your computer and use it in GitHub Desktop.
news
content_blocks:
- type: title
content: This is a title!
- type: subtitle
content: This is a subtitle!
- type: paragraph
content: Duis esse voluptate tempor irure ea dolore enim laboris duis consequat enim exercitation sint minim. Nulla ad sint veniam eu est nulla Lorem eu. Commodo anim minim nostrud cillum laboris sit ea esse veniam id.
- type: image
content: "test.jpg"
alt_text: ""
- type: list
content:
- Sit irure deserunt reprehenderit elit sint ullamco.
- Sit irure deserunt reprehenderit elit sint ullamco.
- Sit irure deserunt reprehenderit elit sint ullamco.
- Sit irure deserunt reprehenderit elit sint ullamco.
- type: video
content: test.mp4
video_description: ""
fallback_image: test.jpg
fallback_alt_text: ""
# grids take an array of grid-items, which can each receive any type(s) of content block(s)
- type: grid
content:
# grid item 1 — an image with some text below it
- type: grid-item
content:
- type: image
content: test.jpg
alt_text: ""
- type: paragraph
content: Do ad irure dolore fugiat veniam in cupidatat sit non.
# grid item 2 — two paragraphs 🤷‍♂️
- type: grid-item
content:
- type: paragraph
content: Do ad irure dolore fugiat veniam in cupidatat sit non.
- type: paragraph
content: Do ad irure dolore fugiat veniam in cupidatat sit non.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment