I have a page with a description of one machinery, main content is the description, after this I have two section, first with features and second with optionals. These sections are cards dynamically created picking infos from page with particular tags. For example, the cards of feature, are chosen from pages with tag ‘features’ and ‘model_name’… all works, but I need the tag ‘model_name’ will be dynamic, will be the same tag used for model page.
{% for post in taxonomy.findTaxonomy({'category':'features','tag':page.taxonomy.tag|first}).order('date', 'desc') %}
This will use the first tag as product model for this machinery. The problem is taht this solution assume that the product model is always the first tag. You can of course choose to use the last tag, or any other tag, but this solution will constrain you to always define your tags in the same order. This seems quite error-prone.
Better, I suggest to create custom taxonomies instead of using the tags. As explained here put something like this in your site.yaml: