🚀 Blake Static

Taxonomy

Tags

Page tags can be specified using tags inside your frontmatter. They are optional, and you can leave them entirely.

---
title: Example post
tags: ['lorem', 'ipsum']
---

Lorem ipsum dolor sit amet.

So far, no taxonomy pages are generated by default. However, all info about your tags can be accessed from data object inside the templates.

data.tags is a list of tags and their respective pages. The individual tag has following schema.

{
  'name': 'Your tag name',
  'pages: [
    // Pages with all their data you can access.
  ]
}
<!DOCTYPE html>
<html>
<head>
    <title>{{ title }}</title>
</head>
<body>
{{ data.tags }}
</body>
</html>