Skip to content

Commit bb96507

Browse files
author
Joseph Damiba
committed
create separate layout file for main languages index pagees
1 parent 1f57cb5 commit bb96507

File tree

10 files changed

+1085
-51
lines changed

10 files changed

+1085
-51
lines changed

_includes/posts/documentation_eg.html

Lines changed: 36 additions & 42 deletions
Large diffs are not rendered by default.

_includes/posts/mainlang_documentation_eg.html

Lines changed: 1041 additions & 0 deletions
Large diffs are not rendered by default.

_posts/ggplot2/2016-12-16-ggplot2-index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ name: ggplot2 Graphing Library
44
description: With ggplotly() by Plotly, you can convert your ggplot2 figures into interactive ones powered by plotly.js, ready for embedding into Dash applications.
55
layout: langindex
66
language: ggplot2
7-
display_as: false
87
redirect_from: ggplot2/reference/
98
---
109

@@ -21,6 +20,6 @@ redirect_from: ggplot2/reference/
2120
</div>
2221
</header>
2322

24-
{% assign languagelist = site.posts | where:"language","ggplot2" | sort: "order" %}
23+
{% assign languagelist = site.posts | where:"page_type","example_index" | where:"language","ggplot2" | sort: "order" %}
2524

2625
{% include posts/documentation_eg.html %}

_posts/julia/2015-04-05-julia-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ <h1>Plotly Julia Library</h1>
2727
</header>
2828

2929
<h2>Documentation Examples</h2>
30-
{% assign languagelist = site.posts | where:"language","julia" | sort: "order" %}
30+
{% assign languagelist = site.posts | where:"page_type","example_index" | where:"language","julia" | sort: "order" %}
3131

3232
{% include posts/documentation_eg.html %}

_posts/matlab/2015-04-05-matlab-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ <h6>
9090
<br>
9191

9292
<h2>Documentation Examples</h2>
93-
{% assign languagelist = site.posts | where:"language","matlab" | sort: "order" %}
93+
{% assign languagelist = site.posts | where:"page_type","example_index" | where:"language","matlab" | sort: "order" %}
9494

9595
{% include posts/documentation_eg.html %}

_posts/nodejs/2015-04-05-node_js-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ <h1>Plotly node.js Library</h1>
2222
</div>
2323
</header>
2424

25-
{% assign languagelist = site.posts | where:"language","nodejs" | sort: order %}
25+
{% assign languagelist = site.posts | where:"page_type","example_index" | where:"language","nodejs" | sort: order %}
2626

2727
{% include posts/documentation_eg.html %}

_posts/plotly_js/2015-04-05-plotly_js-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ <h1>Plotly JavaScript Open Source Graphing Library</h1>
150150
</header>
151151

152152
{% assign languagelist = site.posts | where:"language","plotly_js" | sort: "order" %}
153-
{% include posts/documentation_eg.html %}
153+
{% include posts/mainlang_documentation_eg.html %}

_posts/python/2019-07-03-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ <h1>Plotly Python Open Source Graphing Library</h1>
3535

3636

3737
{% assign languagelist = site.posts | where:"language","python" | sort: "order" %}
38-
{% include posts/documentation_eg.html %}
38+
{% include posts/mainlang_documentation_eg.html %}

_posts/r/2015-07-30-r-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ language: r
2727

2828
{% assign languagelist = site.posts | where:"language","r" | sort: "order" %}
2929

30-
{% include posts/documentation_eg.html %}
30+
{% include posts/mainlang_documentation_eg.html %}

_posts/scala/2016-04-13-scala-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ <h1>Plotly Scala Library</h1>
2424
</header>
2525

2626

27-
{% assign languagelist = site.posts | where:"language","scala" | sort: "order" %}
27+
{% assign languagelist = site.posts | where:"page_type","example_index" | where:"language","scala" | sort: "order" %}
2828

2929
{% include posts/documentation_eg.html %}

0 commit comments

Comments
 (0)