# Help listing taxomonies in blog post page

**URL:** <https://zola.discourse.group/t/help-listing-taxomonies-in-blog-post-page/1515>\
**Category:** Support\
**Created:** [October 15, 2022, 6:26am UTC](https://zola.discourse.group/t/help-listing-taxomonies-in-blog-post-page/1515 "2022-10-15T06:26:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xoposaf](https://avatars.discourse-cdn.com/v4/letter/x/bbe5ce/32.png) [@xoposaf](https://zola.discourse.group/u/xoposaf)\
**Post date:** [October 15, 2022, 6:26am UTC](https://zola.discourse.group/t/help-listing-taxomonies-in-blog-post-page/1515/1 "2022-10-15T06:26:59Z")

</div>

How do I go about adding showing taxonomies associated with a page.

In my config.toml, I have:

```auto
taxonomies = [
    {name = "tags", feed = true},
]

```

And in the blog page, I have:

```auto
+++
title = "Blog Title"
date = 2022-07-01
description = "Blog description"
draft = false
[taxonomies]
tags=["colemak", "tech", "raila"]
+++

```

Whenever I try to access the taxonomies using `page.taxonomies.tags`, I encounter the error: Variable `page.taxonomies.tags` not found in context while rendering ‘post.html’. What did I do wrong?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [October 15, 2022, 6:19pm UTC](https://zola.discourse.group/t/help-listing-taxomonies-in-blog-post-page/1515/2 "2022-10-15T18:19:22Z")

</div>

I guess not all your pages have taxonomies?

---

<div class="post-metadata">

**Author:** ![thomasantony](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/thomasantony/32/829_2.png) [@thomasantony](https://zola.discourse.group/u/thomasantony)\
**Post date:** [October 16, 2022, 4:34am UTC](https://zola.discourse.group/t/help-listing-taxomonies-in-blog-post-page/1515/3 "2022-10-16T04:34:01Z")

</div>

You probably need to write it in a conditional and only use it if it is available. If any of your pages don’t define tags, then the variable will not exist when rendering that page.

---

<div class="post-metadata">

**Author:** ![probable-potato](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/probable-potato/32/594_2.png) [@probable-potato](https://zola.discourse.group/u/probable-potato)\
**Post date:** [October 16, 2022, 11:05pm UTC](https://zola.discourse.group/t/help-listing-taxomonies-in-blog-post-page/1515/4 "2022-10-16T23:05:16Z")

</div>

This might be a helpful example:

> <https://github.com/scouten/ericscouten.travel/blob/main/templates/page.html>

This references a template in my shared theme:

> <https://github.com/scouten/ericscouten.travel/blob/main/templates/page.html>
