Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions templates/client-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

{% block main_content %}
{% set client_path = section.extra.recommended_clients_paths | first %}
{% set client = load_data(path = docs::client_json_path(client_path=client_path), format="json", required = false) %}
{% if not client %}
{% set first_client = load_data(path = docs::client_json_path(client_path=client_path), format="json", required = false) %}
{% if not first_client %}
<strong>Clients page not found.</strong> You likely need to build the client page. See "Building additional content" in the README.md file.
{% else %}
<div class="markdown-content">
Expand Down Expand Up @@ -37,6 +37,9 @@ <h2 id="{{ language | slugify }}">{{ docs::format_language(language=language) }}
<h3 id="{{ client.name | slugify }}">{{ client.name }}</h3>
<ul>
<li><strong>Repo:</strong> <a href="{{ client.repo }}">{{ client.name }}</a></li>
{% if client.website %}
<li><strong>Website:</strong> <a href="{{ client.website }}">{{ client.website }}</a></li>
{% endif %}
<li>
<strong>Installation:</strong>
{% if client.installation is iterable %}
Expand Down