|
35 | 35 |
|
36 | 36 | {%- assign allpages = site.posts -%}
|
37 | 37 | {%- for page in allpages -%}
|
38 |
| - {%- if page.permalink contains {{page_type}} and page.language == "excel" -%} |
39 |
| - <li class="lang-nav--item"> |
40 |
| - <a class="lang_nav_button {{xlsxclass}}" href="https://help.plot.ly/excel{{page_type}}"> |
41 |
| - <div><img src="https://plot.ly/gh-pages/documentation/static/images/excel-small.png" alt="excel" class="lang_nav_thum"></div> |
42 |
| - Excel |
43 |
| - </a> |
44 |
| - </li> |
45 |
| - {%- endif -%} |
46 | 38 | {%- if page.permalink contains {{page_type}} and page.language == "python" -%}
|
47 | 39 | <li class="lang-nav--item">
|
48 | 40 | <a class="lang_nav_button {{pyclass}}" href="/python{{page_type}}">
|
49 | 41 | <div><img src="https://plot.ly/gh-pages/documentation/static/images/python-small.png" alt="python" class="lang_nav_thum"></div>
|
50 | 42 | Python
|
51 | 43 | </a>
|
52 |
| - </li> |
53 |
| - {%- endif -%} |
54 |
| - {%- if page.permalink contains {{page_type}} and page.language == "pandas" -%} |
55 |
| - <li class="lang-nav--item"> |
56 |
| - <a class="lang_nav_button {{pdclass}}" href="/pandas{{page_type}}"> |
57 |
| - <div><img src="https://plot.ly/gh-pages/documentation/static/images/pandas-small.png" alt="pandas" class="lang_nav_thum"></div> |
58 |
| - Pandas |
59 |
| - </a> |
60 |
| - </li> |
61 |
| - {%- endif -%} |
62 |
| - |
63 |
| - {%- if page.permalink contains {{page_type}} and page.language == "matlab" -%} |
64 |
| - <li class="lang-nav--item"> |
65 |
| - <a class="lang_nav_button {{matclass}}" href="/matlab{{page_type}}"> |
66 |
| - <div><img src="https://plot.ly/gh-pages/documentation/static/images/MATLAB-small.png" alt="matlab" class="lang_nav_thum"></div> |
67 |
| - MATLAB |
68 |
| - </a> |
69 | 44 | </li>
|
70 | 45 | {%- endif -%}
|
71 | 46 | {%- if page.permalink contains {{page_type}} and page.language == "r" -%}
|
|
74 | 49 | <div><img src="https://plot.ly/gh-pages/documentation/static/images/r-small.png" alt="r" class="lang_nav_thum"></div>
|
75 | 50 | R
|
76 | 51 | </a>
|
77 |
| - </li> |
78 |
| - {%- endif -%} |
79 |
| - {%- if page.permalink contains {{page_type}} and page.language == "matplotlib" -%} |
80 |
| - <li class="lang-nav--item"> |
81 |
| - <a class="lang_nav_button {{matplotclass}}" href="/matplotlib{{page_type}}"> |
82 |
| - <div><img src="https://images.plot.ly/language-icons/api-home/matplotlib.png" alt="matplotlib" class="lang_nav_thum"></div> |
83 |
| - matplotlib |
84 |
| - </a> |
85 |
| - </li> |
86 |
| - {%- endif -%} |
87 |
| - {%- if page.permalink contains {{page_type}} and page.language == "ggplot2" -%} |
88 |
| - <li class="lang-nav--item"> |
89 |
| - <a class="lang_nav_button {{ggplotclass}}" href="/ggplot2{{page_type}}"> |
90 |
| - <div><img src="https://images.plot.ly/language-icons/api-home/ggplot2-logo.png" alt="ggplot2" class="lang_nav_thum"></div> |
91 |
| - ggplot2 |
92 |
| - </a> |
93 | 52 | </li>
|
94 | 53 | {%- endif -%}
|
95 | 54 | {%- if page.permalink contains {{page_type}} and page.language == "plotly_js" -%}
|
96 | 55 | <li class="lang-nav--item">
|
97 | 56 | <a class="lang_nav_button {{plotjsclass}}" href="/javascript{{page_type}}">
|
98 | 57 | <div><img src="https://images.plot.ly/language-icons/api-home/js-logo.png" alt="plotly.js" class="lang_nav_thum"></div>
|
99 | 58 |
|
100 |
| - plotly.js |
| 59 | + Javascript |
101 | 60 | </a>
|
102 | 61 | </li>
|
103 | 62 | {%- endif -%}
|
104 |
| - {%- if page.permalink contains {{page_type}} and page.language == "scala" -%} |
105 |
| - <li class="lang-nav--item"> |
106 |
| - <a class="lang_nav_button {{scalaclass}}" href="/scala{{page_type}}"> |
107 |
| - <div><img src="https://images.plot.ly/plotly-documentation/thumbnail/scala-small.jpg" alt="scala" class="lang_nav_thum"></div> |
108 |
| - Scala |
109 |
| - </a> |
110 |
| - </li> |
111 |
| - {%- endif -%} |
112 |
| - {%- if page.permalink contains {{page_type}} and page.language == "nodejs" -%} |
113 |
| - <li class="lang-nav--item"> |
114 |
| - <a class="lang_nav_button" href="/nodejs{{page_type}}"> |
115 |
| - <div><img src="https://images.plot.ly/language-icons/api-home/nodejs-logo.png" alt="node js" class="lang_nav_thum"></div> |
116 |
| - node.js |
117 |
| - </a> |
118 |
| - </li> |
119 |
| - {%- endif -%} |
120 | 63 | {%- endfor -%}
|
121 | 64 | </ul>
|
122 | 65 | </nav>
|
0 commit comments