isPublic()
Return false if a tag name starts with _
Params:
-
tag {string}
src/filters/tags.js
isPublic()
Return false if a tag name starts with _
tag
{string}
publicTags()
Remove private _<name>
tags from a list
tags
{array}
displayName()
Returns a tag name with private _
removed,
for those rare cases where we want to display private tags.
tag
{string}
tagLink()
Returns the link for a given tag –
either the auto-generated tag page,
or page marked as index
for that tag
all
{array}
containing all 11ty page objects (collections.all
)
tag
{string}
getTags()
Returns all tags in a collection
collection
{array}
containing 11ty page objects
tagData()
Returns an array tag-data objects for each tag, including name, url, and page count
collections
{11ty collections object}
tags
{array | 'all'}
= undefined
Will return data for all tags when set to all