File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
material/partials/integrations
src/partials/integrations Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 7
7
{% if config.extra.analytics %}
8
8
{% set provider = config.extra.analytics.provider %}
9
9
{% endif %}
10
- {% include "partials/integrations/analytics/" ~ provider ~ ".html" %}
10
+ {% if provider %}
11
+ {% include "partials/integrations/analytics/" ~ provider ~ ".html" %}
12
+ {% endif %}
Original file line number Diff line number Diff line change 30
30
{% set provider = config.extra.analytics.provider %}
31
31
{% endif %}
32
32
33
- <!-- Analytics provider -->
34
- {% include "partials/integrations/analytics/" ~ provider ~ ".html" %}
33
+ <!-- Set up analytics provider -->
34
+ {% if provider %}
35
+ {% include "partials/integrations/analytics/" ~ provider ~ ".html" %}
36
+ {% endif %}
You can’t perform that action at this time.
0 commit comments