Skip to content

Commit 9396847

Browse files
Merge pull request #63 from plotly/dash-image
add dash image
2 parents 5fc9f6d + 54d3e06 commit 9396847

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

_layouts/base.html

+11
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,22 @@ <h1>
7272
<p><em>MATLAB is a registered trademark of The MathWorks, Inc.</em></p>
7373
{% endif %}
7474
</section>
75+
76+
{% if page.permalink contains "javascript/" or page.permalink contains "python/" %}
77+
78+
<a href="https://dash.plotly.com"><img width="100%" style="margin-top: 20px;" src="/all_static/images/dash.png"/></a>
79+
80+
{%elsif page.permalink contains "r/" or page.permalink contains "ggplot2/" %}
81+
82+
<a href="https://dashr.plotly.com"><img width="100%" style="margin-top: 20px;" src="/all_static/images/dash.png"/></a>
83+
84+
{% endif %}
7585
<!--End Plotly Basics Section-->
7686
</section>
7787
</div>
7888
</main>
7989

90+
8091
{% include layouts/insertSidebarElement.html %}
8192

8293
{% include layouts/_footer-main.html %}

_layouts/langindex.html

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
<!-- Start pulling content -->
2727
{{ content }}
2828
<!--End content -->
29+
{% if page.permalink contains "javascript/" or page.permalink contains "python/" %}
30+
31+
<a href="https://dash.plotly.com"><img width="100%" style="margin-top: 20px;" src="/all_static/images/dash.png"/></a>
32+
33+
{%elsif page.permalink contains "r/" or page.permalink contains "ggplot2/" %}
34+
35+
<a href="https://dashr.plotly.com"><img width="100%" style="margin-top: 20px;" src="/all_static/images/dash.png"/></a>
36+
37+
{% endif %}
2938
</section>
3039
</div>
3140

all_static/images/dash.png

605 KB
Loading

0 commit comments

Comments
 (0)