Skip to content

Commit ba41b0e

Browse files
committed
configuration update
update Update CITATION.cff.jinja
1 parent c57452f commit ba41b0e

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

CITATION.cff.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ message: >-
88
metadata from the CITATION.cff file.
99
type: software
1010
authors:
11-
{% set author_name_split = author_name.split(' ') %}
12-
{% set author_given_name = author_name_split[0] %}
13-
{% set author_last_name = author_name_split[1] if author_name_split | length > 1 else '' %}
11+
{% set author_name_split = author_name.split(' ') %}
12+
{% set author_given_name = author_name_split[0] %}
13+
{% set author_last_name = author_name_split[1] if author_name_split | length > 1 else '' %}
1414
- given-names: {{ author_given_name }}
1515
family-names: {{ author_last_name }}
1616
orcid: "{{ author_orcid }}"

copier.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ _exclude:
4141
- copier.yaml
4242
- tests/test_template.py
4343
- .github/workflows/test-template.yml
44+
45+
_envops:
46+
# Jinja settings to remove whitespace
47+
lstrip_blocks: true
48+
trim_blocks: true

0 commit comments

Comments
 (0)