Skip to content

Commit 2c363a7

Browse files
authored
Merge pull request #241 from plotly/refresh-footer-ad
Swap footer ad to fresh branding and remove from R/ggplot2
2 parents 151d9c9 + 17b91f1 commit 2c363a7

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

_layouts/base.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ <h1>
6363

6464
</section>
6565

66-
{% if page.permalink contains "javascript/" or page.permalink contains "python/" %}
66+
{% if page.permalink contains "python/" %}
6767

68-
<a href="https://dash.plotly.com"><img width="100%" style="margin-top: 20px;"
69-
src="/all_static/images/dash.png" /></a>
68+
<a href="https://dash.plotly.com/tutorial?utm_medium=graphing_libraries&utm_content=python_footer"><img width="100%" style="margin-top: 20px;"
69+
src="/all_static/images/dash_2023.png" /></a>
7070

71-
{%elsif page.permalink contains "r/" or page.permalink contains "ggplot2/" %}
71+
{%elsif page.permalink contains "javascript/" %}
7272

73-
<a href="https://dashr.plotly.com"><img width="100%" style="margin-top: 20px;"
74-
src="/all_static/images/dash.png" /></a>
73+
<a href="https://dash.plotly.com/tutorial?utm_medium=graphing_libraries&utm_content=javascript_footer"><img width="100%" style="margin-top: 20px;"
74+
src="/all_static/images/dash_2023.png" /></a>
7575

7676
{% endif %}
7777

_layouts/langindex.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
{{ content }}
2222
<!--End content -->
2323
{% unless page.permalink contains "/reference/" %}
24-
{% if page.permalink contains "javascript/" or page.permalink contains "python/" %}
24+
{% if page.permalink contains "python/" %}
2525

26-
<a href="https://dash.plotly.com"><img width="100%" style="margin-top: 20px;"
27-
src="/all_static/images/dash.png" /></a>
26+
<a href="https://dash.plotly.com/tutorial?utm_medium=graphing_libraries&utm_content=python_footer"><img width="100%" style="margin-top: 20px;"
27+
src="/all_static/images/dash_2023.png" /></a>
2828

29-
{%elsif page.permalink contains "r/" or page.permalink contains "ggplot2/" %}
29+
{%elsif page.permalink contains "javascript/" %}
3030

31-
<a href="https://dashr.plotly.com"><img width="100%" style="margin-top: 20px;"
32-
src="/all_static/images/dash.png" /></a>
31+
<a href="https://dash.plotly.com/tutorial?utm_medium=graphing_libraries&utm_content=javascript_footer"><img width="100%" style="margin-top: 20px;"
32+
src="/all_static/images/dash_2023.png" /></a>
3333

3434
{% endif %}
3535
{% endunless %}

all_static/images/dash.png

-605 KB
Binary file not shown.

all_static/images/dash_2023.png

1.45 MB
Loading

0 commit comments

Comments
 (0)