KirbyTags
KirbyTag patterns like (date: year) are passed through to and processed by Kirby. (Exception: (include:))
They can be used in your content in addition to Markdown code to simplify common tasks like inserting links, emails, images, etc.
Date
(date: Y)
Result: 2026
(date: d.m.Y H:i:s)
Result: 27.10.2026
(email: bastian@getkirby.com text: Send me an email title: Contact me)
Result: Send me an email
File Download
(file: ~/download/test.pdf text: Download File)
Result: Download File
Gist
(gist: https://gist.github.com/2556891)
Image
(image: leafs.jpg alt: This is an awesome picture)
Note:
If PageFactory is installed, (image: is intercepted and processed by the img() macro.
Link
(link: http://wikipedia.org text: Wikipedia target: _blank)
Result: Wikipedia
Note:
If PageFactory is installed, (link: is intercepted and processed by the link() macro.
Tel
(tel: +49123456789 text: call us title: This is my phone number)
Result: call us
HTML Output
<a href="tel:+49123456789" title="This is my phone number">call us</a>
Video
(video: http://www.youtube.com/watch?v=lLuc6rtWkrM)
Include
(include: -test.md)
Output:
THIS IS CONTENT FROM -text.md
Supported File Types
.txt,.md,.html
Arguments:
- literal:
-
If true, renders output wrapped in <pre> tag
- exclude:
-
???
Note:
When using a wildcard like (include: *.md), the command will include all corresponding files, except if their filenames start with - or _.
This is just to allow excluding specific files in a convenient way.