Hello. I have a template for Zotero Integration borrowed from Bryan Jenks on Youtube, but the {{relation.citekey}} doesn’t return anything despite the paper I import having related in Zotero. Here is the template:
I don’t use the plugin or Zotero but it looks like the “related:” is included in a loop. That “for relation in relations” part means “for each relation in the group of relations, do the following”. If you move “related:” (but not the bracketed stuff after it) above that “for” line, the “related” will not be repeated — but other items will each be on their own line. I don’t know how to get them on the same line — maybe the plugin’s documentation explains, or links to something that explains.
related:
{% for relation in relations -%}
{%- if relation.citekey -%}
{{relation.citekey}}
{% endif -%}
{%- endfor %}