--- layout: default comment: Infotorg Services APIs layout --- {{ content }} {% comment %} Visible Services List {% endcomment %} {% assign services = site.data.services | where:'show', true %} {% if services and services.size > 0 %}
{% for item in services %}

{% assign icon_exists = false %} {% assign icons_dir = "assets/images/icons/services/" %} {% assign icon_path = icons_dir | prepend: '/' | append: item.icon %} {% if item.icon and item.icon != '' %} {% for static_file in site.static_files %} {% if static_file.path == icon_path %} {% assign icon_exists = true %} {% break %} {% endif %} {% endfor %} {% endif %}

{{ item.info }} {% if item.url %}

{% comment %} Link to a documentation page {% endcomment %} {{ item.name }} API pages

{% endif %}
{% endfor %}
{% else %}

There are no API services. To add an API service create file /_data/services.yml.

For more information please read the theme documentation.

{% endif %}