Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 110a796

Browse files
Joseph Damibanicolaskruchten
Joseph Damiba
authored andcommitted
ggplot2 examples have dependencies
1 parent 29b3b96 commit 110a796

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

_includes/layouts/head.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@
1111
<script>hljs.initHighlightingOnLoad();</script>
1212
{% endif %}
1313

14-
{% if page.language == "plotly_js" or page.language == "r" %}
14+
{% if page.language == "plotly_js" or page.language == "r" or page.language == "ggplot2" %}
1515
<!-- Plotly.js -->
1616
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
1717
{% endif %}
18-
18+
19+
{% if page.language == "r" or page.language == "ggplot2" %}
20+
<script src="/all_static/r_files/r_dependencies.js"></script>
21+
{% endif %}
1922
<!--
2023
//// Stylesheets
2124
-->
@@ -46,8 +49,6 @@
4649
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
4750
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
4851
crossorigin="anonymous"></script>
49-
{% if page.language == "r" %}
50-
<script src="/all_static/r_files/r_dependencies.js"></script>
51-
{% endif %}
52+
5253

5354
</head>

0 commit comments

Comments
 (0)