Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqc6p-0007QY-AT for pgsql-www@arkaria.postgresql.org; Fri, 26 Nov 2021 14:21:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mqc6n-0007vw-M3 for pgsql-www@arkaria.postgresql.org; Fri, 26 Nov 2021 14:21:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqc6n-0007vn-Ey for pgsql-www@lists.postgresql.org; Fri, 26 Nov 2021 14:21:49 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqc6f-00053M-So for pgsql-www@lists.postgresql.org; Fri, 26 Nov 2021 14:21:48 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 3134F2F04855 for ; Fri, 26 Nov 2021 15:20:58 +0100 (CET) Received: from s499.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 219052E2ACEF; Fri, 26 Nov 2021 15:20:58 +0100 (CET) Received: from s472.loopia.se (unknown [172.22.191.6]) by s499.loopia.se (Postfix) with ESMTP id 1D6CE1CE0810; Fri, 26 Nov 2021 15:20:58 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from s899.loopia.se ([172.22.191.5]) by s472.loopia.se (s472.loopia.se [172.22.190.12]) (amavisd-new, port 10024) with UTF8LMTP id ZqeJKZt2UWAa; Fri, 26 Nov 2021 15:20:57 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from [192.168.72.144] (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s899.loopia.se (Postfix) with ESMTPSA id A943B2C8FD6B; Fri, 26 Nov 2021 15:20:57 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: [PATCH] Change text direction of documentation pages From: Daniel Gustafsson In-Reply-To: Date: Fri, 26 Nov 2021 15:20:57 +0100 Cc: Nils , pgsql-www@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <53D92024-85B0-4226-82A4-3A27CFA7880B@yesql.se> References: <20211107163140.rnqihhpwrc5vwt2l@nixos> To: Magnus Hagander X-Mailer: Apple Mail (2.3608.120.23.2.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 24 Nov 2021, at 14:58, Magnus Hagander wrote: > On Sun, Nov 7, 2021 at 5:31 PM Nils > 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. >=20 > 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...". >=20 > 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? >=20 > 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: - PostgreSQL: Documentation: {{page.display_version}}: = {{page.title}} + {{page.title}} — PostgreSQL {{page.display_version}} = Documentation 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/