Added session data and updated coloration for scripture categories.
This commit is contained in:
parent
a201899a20
commit
9fb696db45
1 changed files with 5 additions and 1 deletions
|
|
@ -47,12 +47,16 @@ pagination:
|
|||
|
||||
{%- 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 -%}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{%- if post.data.session -%}
|
||||
<span class="category bg-light-grey color-primary text-300">Session {{ post.data.session }}</span>
|
||||
{%- endif -%}
|
||||
|
||||
</span>
|
||||
|
||||
<img class="card-image" data-src="{{ post.data.post_image | url }}" alt="{{ post.data.image_alt }}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue