Skip to content

Conversation

@LiamConnors
Copy link
Member

I think all of these should be page.permalink,

@nicolaskruchten
Copy link
Contributor

That doesn't seem right... why? This will only display the proper title if you land directly on /python/ but not any sub pages?

@LiamConnors
Copy link
Member Author

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:

image

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:

image

Which is how it currently configured for Python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants