Added session data and updated coloration for scripture categories.

This commit is contained in:
Benjamin A. Shelton 2026-01-06 17:43:19 -07:00
commit 9fb696db45
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -47,12 +47,16 @@ pagination:
{%- if item !== 'notes' -%} {%- if item !== 'notes' -%}
<span class="category box-block bg-secondary color-primary text-300">{{ item | capitalize }}</span> <span class="category bg-{%- if post.data.scripture_category %}{{ post.data.scripture_category }} {%- else %}secondary {%- endif %} color-primary text-300">{{ item | capitalize }}</span>
{%- endif -%} {%- endif -%}
{% endfor %} {% endfor %}
{%- if post.data.session -%}
<span class="category bg-light-grey color-primary text-300">Session {{ post.data.session }}</span>
{%- endif -%}
</span> </span>
<img class="card-image" data-src="{{ post.data.post_image | url }}" alt="{{ post.data.image_alt }}"> <img class="card-image" data-src="{{ post.data.post_image | url }}" alt="{{ post.data.image_alt }}">