_includes/related-pages.html in elixir-toolkit-theme-1.18.0 vs _includes/related-pages.html in elixir-toolkit-theme-1.19.0
- old
+ new
@@ -21,10 +21,10 @@
{%- for page_id in section[1] %}
{%- assign section_pages = site.pages | where:"type", section[0] %}
{%- assign metadata = section_pages | where:"page_id", page_id %}
{%- for page_hit in metadata %}
<li class="d-grid">
- <a class="btn bg-white hover-primary text-start" href="{{ page_hit.url | relative_url }}"><span>{{page_hit.title}}{% if page_hit.description %}</span><br><small class="text-muted">{{ page_hit.description | capitalize }}</small>{% endif %}</a>
+ <a class="btn bg-white hover-primary text-start" href="{{ page_hit.url | relative_url }}"><span>{{page_hit.title}}{% if page_hit.description %}</span><br><small class="text-muted">{{ page_hit.description }}</small>{% endif %}</a>
</li>
{%- endfor %}
{%- endfor %}
</ul>
</div>