Sha256: bb39fdcea0e3eeb763e53ba2d960486059a86bd0f0c36aa22b3140a7b1dea6a5
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
### item/list/gallery This is a gallery component for which all items are displayed in a grid. It is used in the default layout. #### Options | Option | Description | Type | Default | | ------ | ----------- | ---- | ------- | | `title` | title of the component | String | `null` | | `items` | List of items | Object | `null` | | `items.title` | Item title | String | `null` | | `items.clickthrough_url` | Item url | String | `null` | | `items.image` | Item image | String | `null` | | `items.date` | Item date | String | `null` | | `items.description` | Item description | String | `null` | #### Example with options in the md file in the front matter add: ```yml --- example: title: "Example" items: - title: "example 1" clickthrough_url: "/example_url" description: "Example descirption 1" image: "/assets/images/example.png" date: "2019-01-01" - title: "example 2" clickthrough_url: "/example_url" description: "Test description" --- {/% include item/list/gallery/main.html title=page.example.title items=page.example.items %} ```
Version data entries
4 entries across 4 versions & 1 rubygems