Skip to content

Commit 91ce1fc

Browse files
committed
render keywords in CITATION.cff
1 parent 9ede383 commit 91ce1fc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

template/{% if AddCitation %}CITATION.cff{% endif %}.jinja

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ doi: <insert your DOI here>
1212
version: "{{ version }}"
1313
repository-code: "{{ repository_url }}"
1414
keywords:
15-
- {{ keyword1 }}
16-
- {{ keyword2 }}
15+
{%- for item in keywords.split(',') %}
16+
- "{{ item }}"
17+
{%- endfor %}
1718
message: "If you use this software, please cite it using these metadata."
1819
{{ { "Apache Software License 2.0": "license: Apache-2.0",
1920
"MIT license": "license: MIT",

0 commit comments

Comments
 (0)