This include file generates a collection of link cards, typically used for displaying a set of important links on a page.
To use this include in your Jekyll theme, add the following line to your template:
{% include links.html links=page.featured_links %}
This include expects an explicit include.links value:
| Variable | Default | Description |
|---|---|---|
include.links |
Required | The collection of links to display |
include.links collection.link-card.html for each one.This include file depends on:
link-card.html: Another include file that defines how each link card is displayed.To customize the appearance of the links collection:
link-card.html include to change how individual links are displayed.include.links is not provided, the include renders nothing.