File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
en/theme/material/templates Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,8 @@ <h1 class="md-typeset">Connectors</h1>
6262 </ a >
6363 {% endif %}
6464 {% if connector.documentation_link %}
65- < a class ="tooltip source-link md-icon md-icon--hover " href ="{% if connector.documentation_link.startswith('http') %}
66- {{ connector.documentation_link }}
67- {% else %}
68- {{ config.extra.base_path }}/connectors/{{ connector.documentation_link }}/overview/
69- {% endif %} " {% if connector.documentation_link.startswith( "https://") %}target="_blank " rel ="noopener noreferrer "{% endif %} >
65+ {% set doc_url = connector.documentation_link if connector.documentation_link.startswith('http') else config.extra.base_path ~ '/connectors/' ~ connector.documentation_link ~ '/overview/' %}
66+ < a class ="tooltip source-link md-icon md-icon--hover " href ="{{ doc_url }} " {% if connector.documentation_link.startswith( 'http') %}target="_blank " rel ="noopener noreferrer "{% endif %} >
7067 {% include "/assets/images/icons/book-16.svg" %}
7168 < span class ="tooltip-text "> Documentation</ span >
7269 </ a >
You can’t perform that action at this time.
0 commit comments