public inbox for [email protected]
help / color / mirror / Atom feedFrom: Daniel Gustafsson <[email protected]>
To: Magnus Hagander <[email protected]>
Cc: Nils <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] Change text direction of documentation pages
Date: Fri, 26 Nov 2021 15:20:57 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CABUevEw+Trc7vnb=nH-_qQqQVg7qwwNsNrf_RFf6VmrqywwF8A@mail.gmail.com>
References: <20211107163140.rnqihhpwrc5vwt2l@nixos>
<CABUevEw+Trc7vnb=nH-_qQqQVg7qwwNsNrf_RFf6VmrqywwF8A@mail.gmail.com>
> On 24 Nov 2021, at 14:58, Magnus Hagander <[email protected]> wrote:
> On Sun, Nov 7, 2021 at 5:31 PM Nils <[email protected] <mailto:[email protected]>> wrote:
> 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...".
>
> Interesting -- I had no idea this could be done :)
Ditto.
> Thinking about it. I agree with the comment about the home page, but I wonder if that is the *only* case where it actually makes sense the way it is now, and that *all* other pages would be better off with this switch?
>
> Can you (or someone else) think of another counterexample?
Looking at the precedent set by other documentation sites, I think we should do
the simpler fix of reversing the order of elements in the title tag like the
(untested) below:
- <title>PostgreSQL: Documentation: {{page.display_version}}: {{page.title}}</title>
+ <title>{{page.title}} — PostgreSQL {{page.display_version}} Documentation</title>
This will also work in all browsers and across all types of devices.
Shifting the order probably applies to more pages, but I agree that the docs
are especially interesting to tackle first.
--
Daniel Gustafsson https://vmware.com/
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] Change text direction of documentation pages
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox