list content provider
blackstork/builtin, v0.4.2
Description #
Produces a list of items
The list content provider is built into the BlackStork engine. It is available out-of-the-box and requires no installation or dependency declaration.
Configuration #
This content provider does not accept any configuration arguments.
Usage #
This content provider accepts the following arguments within a content list block:
content list {
# Go template for the item of the list
#
# Optional string.
#
# For example:
# item_template = "[{{.Title}}]({{.URL}})"
#
# Default value:
item_template = "{{.}}"
# Optional string.
# Must be one of: "unordered", "ordered"
# Default value:
format = "unordered"
# List of items to render.
#
# Required list of jq queriable.
#
# For example:
items = ["First item", "Second item", "Third item"]
}