diff --git a/_layouts/timeline_edtf.html b/_layouts/timeline_edtf.html index 429a794b..e7a45f96 100644 --- a/_layouts/timeline_edtf.html +++ b/_layouts/timeline_edtf.html @@ -55,7 +55,13 @@

{% assign first_year = sorted_years | first | split: ':' %} {% assign last_year = sorted_years | last | split: ':' %} {% if sorted_years.size > 0 %} - {% if first_year.size == 2 and last_year.size == 2 and first_year[0] != '' and first_year[1] != '' and last_year[0] != '' and last_year[1] != '' %} + {% if first_year.size == 2 + and last_year.size == 2 + and first_year[0] != '' + and first_year[1] != '' + and last_year[0] != '' + and last_year[1] != '' + %} {{ first_year[0] }}{{ last_year[0] }} {% else %}