{%- comment -%} This is a card displaying post metadata as well as the title image. Parameters: post: The post which sould be displayed on the card {%- endcomment -%} {%- if include.post.title_image == "default" %} {%- assign img_url = site.directory.images | append: 'HIFIS_LOGO_news_cards.svg' | strip | relative_url -%} {%- else -%} {%- assign img_url = site.directory.large_images | append: "phone/" | append: include.post.title_image | strip | relative_url -%} {%- endif -%}