Skip to content

Commit b00afcd

Browse files
authored
remove unused macros and shortcodes (#3464)
* remove unused macros and shortcodes Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com> * fixup! remove unused macros and shortcodes Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com> --------- Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
1 parent 686c08b commit b00afcd

5 files changed

Lines changed: 0 additions & 278 deletions

File tree

templates/ecosystem/clients.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{% extends "section.html" %}
22
{% import "macros/clients.html" as clients %}
3-
{% import "macros/client_details.html" as client_details %}
43
{% block head_extra %}
54
<meta name="description" content="{{ section.extra.summary }}">
65
<noscript>

templates/macros/client_details.html

Lines changed: 0 additions & 53 deletions
This file was deleted.

templates/macros/clients.html

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -90,31 +90,6 @@
9090
{% endfor %}
9191
{% endmacro classes %}
9292

93-
{% macro features(features, supported) %}
94-
{% set_global matching = 0 %}
95-
{% for feature_name, supports in features %}
96-
{# Validate feature value is boolean before processing #}
97-
{% if supports is same_as(true) or supports is same_as(false) %}
98-
{% if supports == supported %}
99-
{% set_global matching = matching + 1 %}
100-
{# Check if feature is in our known list #}
101-
{% set_global feature_is_valid = false %}
102-
{% for valid in VALID_FEATURES %}
103-
{% if valid == feature_name %}
104-
{% set_global feature_is_valid = true %}
105-
{% endif %}
106-
{%endfor %}
107-
{% if feature_is_valid %}
108-
<p>{{ self::feature_label(feature_name=feature_name) | trim }}</p>
109-
{% else %}
110-
{{ throw(message="Invalid feature found. Make sure it is within the VALID_FEATURES table!") }}
111-
{% endif %}
112-
{% endif %}
113-
{% endif %}
114-
{% endfor %}
115-
{% if matching == 0 %}None!{% endif %}
116-
{% endmacro %}
117-
11893
{% macro install_links(packages) %}
11994
{% if packages.windows_installer %}
12095
<a href="{{ packages.windows_installer }}"><img src="/assets/stores/download_for_windows.svg"

templates/shortcodes/all_clients.html

Lines changed: 0 additions & 168 deletions
This file was deleted.

templates/shortcodes/clients_showcase.html

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)