Skip to content

Commit 19801ca

Browse files
author
Joseph Damiba
committed
consolidating if statements for ad into one line
1 parent e0be20b commit 19801ca

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

_includes/documentation_eg.html

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -627,24 +627,10 @@ <h4 class="example-section-title" id="layout-options">
627627
</div>
628628
{% endif %}
629629

630-
{% if page.language == "python" %}
630+
{% if page.language == "python" or page.language == "r" or page.language == "javascript" %}
631631
<a href="https://plot.ly/products/dash/"><img src="https://s3-us-west-1.amazonaws.com/plotly-tutorials/plotly-documentation/images/1140px-Dash-ad.png"></a>
632632
{% endif %}
633633

634-
{% if page.language == "javascript" %}
635-
<a href="https://plot.ly/products/dash/"><img src="https://s3-us-west-1.amazonaws.com/plotly-tutorials/plotly-documentation/images/1140px-Dash-ad.png"></a>
636-
{% endif %}
637-
638-
{% if page.language == "r" %}
639-
<a href="https://plot.ly/products/dash/"><img src="https://s3-us-west-1.amazonaws.com/plotly-tutorials/plotly-documentation/images/1140px-Dash-ad.png"></a>
640-
641-
{% endif %}
642-
643-
644-
645-
646-
647-
648634
{% if style_options %}
649635
<section class="--tutorial-section no-image" id="style-options">
650636
<header class="--section-header"><a href="#style-options">Style Options</a>

0 commit comments

Comments
 (0)