This makes the browser (tested on Firefox and Chrome. This does not
apply to Safari because it uses (what seems to be) heuristics to remove
generic information from the title and the title is displayed centered)
display the title right aligned in the tab bar allowing users to see
which page they are on, instead of only the beginning of the title being
visible, preventing switching between different documentation tabs
quickly.
This change was not generalised to other pages as the need is smaller on
other pages. For example on the home page, seeing "...open source
database" is not better than seeing "PostgreSQL: The world's...".
However this change could be beneficial for other pages as well.
---
templates/docs/docspage.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/docs/docspage.html b/templates/docs/docspage.html
index f5f3e3b1..fef7f279 100644
--- a/templates/docs/docspage.html
+++ b/templates/docs/docspage.html
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
- <title>PostgreSQL: Documentation: {{page.display_version}}: {{page.title}}</title>
+ <title>PostgreSQL: Documentation: {{page.display_version}}: {{page.title}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" />
{%block meta%}{%endblock%} {# used for custom meta tags such as description which we don't want for every page #}
--
2.31.1