From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Nils <nils(at)nilsand(dot)re>, pgsql-www(at)lists(dot)postgresql(dot)org |
Subject: | Re: [PATCH] Change text direction of documentation pages |
Date: | 2021-11-26 14:20:57 |
Message-ID: | 53D92024-85B0-4226-82A4-3A27CFA7880B@yesql.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
> On 24 Nov 2021, at 14:58, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> On Sun, Nov 7, 2021 at 5:31 PM Nils <nils(at)nilsand(dot)re <mailto:nils(at)nilsand(dot)re>> 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Jonathan S. Katz | 2021-11-26 15:09:41 | Re: [PATCH] Change text direction of documentation pages |
Previous Message | Tom Lane | 2021-11-24 20:01:33 | Re: Expired cert |