adamfowlerit/msportals.io

[BUG] Training Links page isn't showing any of the items defined in the JSON

Closed this issue · 1 comments

I'm trying to create a new page for Training - Exams/Certifications. I've managed to make the button and get the header of the training section, but can't get the training.json content to show up.

Can anyone help?

image

Previously the Default Layout would only include QuickFilter if the title included "Portals", so it would show on "User Portals" or "Government Portals" but not on the About page, for instance.

{% if page.title contains "Portals" %}
{% include quickfilter.html %}
{% endif %}

QuickFilter doesn't JUST handle the searching, but also handles "Un-hiding" (showing), all of the entries (usually Portals) for the page

Added QuickFilter to "Training Links" page, and now it works

{% if page.title contains "Portals" %}
{% include quickfilter.html %}
{% endif %}
{% if page.title contains "Training Links" %}
{% include quickfilter.html %}
{% endif %}