diff --git a/program.html b/program.html index 351591dc3..3c98cc29a 100644 --- a/program.html +++ b/program.html @@ -39,6 +39,8 @@
{{ row.day | rdf_property: "dct:title", site.language }}
+ {%- endif -%} + {% assign subject = row.day | rdf_property: "dct:subject" %} + {%- if subject -%}- {% if description %} - {% assign sentences = description | split: ". " %} - {% if sentences.size > 2 %} -
- {{ sentences | slice: 0, 2 | join: ". " }}. -
-{{ abstract }}
+ {% else %} + {% if description %} + {% assign sentences = description | split: ". " %} + {% if sentences.size > 2 %}- {{ sentences | slice: 2, sentences.size | join: ". " }} + {{ sentences | slice: 0, 1 | join: ". " }}.
-{{ description }}
++ {{ sentences | slice: 1, sentences.size | join: ". " }} +
+{{ description }}
+ {% endif %} {% endif %} {% endif %}