Compare commits

...

1 Commits

2 changed files with 4 additions and 4 deletions

View File

@@ -88,9 +88,9 @@
{{ 'Date of death'|trans }}:
{%- endif -%}
{#- must be on one line to avoid spaces with dash -#}
<time datetime="{{ person.deathdate|date('Y-m-d') }}" title="{{ 'deathdate'|trans }}">{{ person.deathdate|format_date("medium") }}</time>
<time datetime="{{ person.deathdate|date('Y-m-d') }}" title="{{ 'deathdate'|trans }}">{{ person.deathdate|format_date("medium") }} </time>
{%- if options['addAge'] -%}
<span class="age">{{ 'years_old'|trans({ 'age': person.age }) }}</span>
<span class="age">({{ 'years_old'|trans({ 'age': person.age }) }})</span>
{%- endif -%}
{%- elseif person.birthdate is not null -%}
<time datetime="{{ person.birthdate|date('Y-m-d') }}" title="{{ 'Birthdate'|trans }}">
@@ -98,7 +98,7 @@
'birthdate': person.birthdate|format_date("medium") }) }}
</time>
{%- if options['addAge'] -%}
<span class="age">{{- 'years_old'|trans({ 'age': person.age }) -}}</span>
<span class="age">({{- 'years_old'|trans({ 'age': person.age }) -}})</span>
{%- endif -%}
{%- endif -%}
</p>