I am trying to write some code to determine if a Taxonomy is set on a particular page, but I must be doing something wrong...
TWIG
{% if page.taxonomy.type == "general" %}
Do Something...
{% endif %}
Page Header
YAML
---
title: Page Title
taxonomy:
category: ['docs']
role:
type: ['general']
execution:
modified_date: 10/12/2017
---