{% match project.metadata.link %}
{% when Some with (href) %}
{{project.metadata.title}}
{% when None %}
{{project.metadata.title}}
{% endmatch %}
{{project.body|parse_markdown|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", Some("max-h-[236px]")).unwrap_or("cover not found".to_string()) %}
{% when None %}
{% endmatch %}