{% match project.metadata.link %} {% when Some with (href) %} {{project.metadata.title}} {% when None %} {{project.metadata.title}} {% endmatch %}

{{project.metadata.description|safe}}
{% match project.metadata.cover_image %} {% when Some with (source) %} {% let picture = crate::picture_generator::picture_markup_generator::generate_picture_markup(source, 420, 236, "Project cover", true).unwrap_or("cover not found".to_string()) %}
{% match project.metadata.link %} {% when Some with (href) %} {{picture|safe}} {% when None %} {{picture|safe}} {% endmatch %}
{% when None %} {% endmatch %}