{%- comment -%} Default Styles {%- endcomment -%} {%- assign card_style = '' -%} {%- assign text_style = 'text-dark' -%} {%- assign badge_style = 'badge-dark' -%} {%- comment -%} Update Styles {%- endcomment -%} {%- if post.style == 'fill' -%} {%- assign card_style = post.color | prepend: 'bg-' -%} {%- if post.color != 'light' -%} {%- assign text_style = 'text-white' -%} {%- assign badge_style = 'badge-light text-' -%} {%- assign badge_style = badge_style | append: post.color -%} {%- endif -%} {%- else -%} {%- assign card_style = post.color | prepend: 'border border-' -%} {%- if post.color -%} {%- assign badge_style = post.color | prepend: 'badge-' -%} {%- endif -%} {%- endif -%} {%- comment -%} Determine Post URL {%- endcomment -%} {%- if post.external_url -%} {%- assign post_url = post.external_url -%} {%- else -%} {%- assign post_url = post.url | relative_url -%} {%- endif -%}

{{ post.title }}

{% for tag in post.tags %} {{ tag }} {% endfor %}

{%- if post.description -%} {{ post.description }} {%- else -%} {{ post.content | truncatewords: 25, " read more..." }} {%- endif -%}