sample files from a smithsonian project

This commit is contained in:
2024-05-22 00:26:01 -04:00
commit 265541edc3
76 changed files with 2140 additions and 0 deletions
@@ -0,0 +1,15 @@
{% set image %}
{% if content.field_header|render|striptags('<img>')|trim is not empty %}
{{ content.field_header }}
{% else %}
<img src="/themes/custom/cdesai_emulsify/images/default.jpg" alt="" aria-hidden="true" />
{% endif %}
{% endset %}
{% include "@components/related-content/_related-content-item.twig" with {
title: label,
url: url,
date: content|without('field_header'),
media: image,
header_id: 'related-card-' ~ node.id(),
}%}