Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use site title in page titles #107

Merged
merged 4 commits into from
Aug 29, 2016
Merged

Use site title in page titles #107

merged 4 commits into from
Aug 29, 2016

Conversation

knownasilya
Copy link
Member

@knownasilya knownasilya commented Aug 26, 2016

For example my site is called "Ilya's Docs" and I have a section called
"API". The full title will be "API - Ilya's Docs", unless the section is the
same name as the title.

This gives subsections more of a context when open in a tab.


TODO

Ready for merge.

@knownasilya knownasilya changed the title Use side title in page titles Use site title in page titles Aug 26, 2016
For example my site is called "Ilya's Docs" and I have a section called
"API". The full title will be "API - Ilya's Docs", unless the section is the
same name as the title.
Ilya Radchenko added 2 commits August 26, 2016 16:32
Without the root title for next/prev titles
knownasilya pushed a commit to docpress/docpress-base that referenced this pull request Aug 26, 2016
Goes with the changes over at docpress/docpress-core#107
so don't merge unless that PR is merged.
@knownasilya knownasilya merged commit 65383f2 into master Aug 29, 2016
@knownasilya knownasilya deleted the base-title branch August 29, 2016 12:36
@rstacruz
Copy link
Contributor

Thanks for your contribution! :♥

@rstacruz
Copy link
Contributor

Shouldn't section title be page title? "section title" feels like it's the title for the whole section

@knownasilya
Copy link
Member Author

Agreed. Will make the change.

@knownasilya
Copy link
Member Author

Resolved in #109

knownasilya pushed a commit to docpress/docpress-base that referenced this pull request Aug 29, 2016
* Use sectionTitle for prev/next titles

Goes with the changes over at docpress/docpress-core#107
so don't merge unless that PR is merged.

* Rename section title to pageTitle

See #109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants