graphing-library-docs
graphing-library-docs copied to clipboard
Update title check to `page.permalink`
I think all of these should be page.permalink,
That doesn't seem right... why? This will only display the proper title if you land directly on /python/ but not any sub pages?
The other pages are captured by the last condition:
{% elsif page.name %} {{page.name | capitalize}} in {{language}}{% else %} Plotly Open Source Graphing Libraries{% endif %}
Right now for any non-Python language index page it shows something like this:
So it seems those page titles are being created by that last condition too
But with this change we don't repeat the language and it shows like this:
Which is how it currently configured for Python