Reference

(link: …)

Creates a link

Attributes

class
rel
role
target
title
text

Examples and options:

Link with link text

(link: http://wikipedia.org text: Wikipedia)

Relative link

(link: some/page text: Link to some internal page)

Link to page in a specific language

(link: some/page lang: de)

Link to an anchor

(link: #some-section text: Link to some section on the same page)

Specifying the target for the link

(link: http://wikipedia.org text: Wikipedia target: _blank)

Link with a title attribute

(link: http://wikipedia.org text: Wikipedia title: Go to Wikipedia)

Link with a rel attribute

(link: http://yourdomain.com text: My website rel: me)

Link with a custom CSS class

(link: http://wikipedia.org text: Wikipedia class: mylink)

Link to a page in another language (only on multi-language sites)

(link: some/page text: Some page in German lang: de)

Link with a role attribute

(link: delete-account text: Delete my account role: button)

Source code

kirby/config/tags.php#L145