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 1mjl5B-0007vN-35 for pgsql-www@arkaria.postgresql.org; Sun, 07 Nov 2021 16:31:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mjl59-0006Ym-4q for pgsql-www@arkaria.postgresql.org; Sun, 07 Nov 2021 16:31:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjl58-0006Yc-Ty for pgsql-www@lists.postgresql.org; Sun, 07 Nov 2021 16:31:46 +0000 Received: from 19.mo583.mail-out.ovh.net ([46.105.35.78]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjl56-0007IZ-0z for pgsql-www@lists.postgresql.org; Sun, 07 Nov 2021 16:31:46 +0000 Received: from player763.ha.ovh.net (unknown [10.108.4.80]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 0D9A52237A for ; Sun, 7 Nov 2021 16:31:41 +0000 (UTC) Received: from nilsand.re (host86-151-117-224.range86-151.btcentralplus.com [86.151.117.224]) (Authenticated sender: nils@nilsand.re) by player763.ha.ovh.net (Postfix) with ESMTPSA id 86684240952F6 for ; Sun, 7 Nov 2021 16:31:41 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-101G0040f767922-9502-434a-ae7e-b3831f445766, A30032F0AD3D7EF83CAF17ECBC208C94BEB1E863) smtp.auth=nils@nilsand.re X-OVh-ClientIp: 86.151.117.224 Date: Sun, 7 Nov 2021 16:31:40 +0000 From: Nils To: pgsql-www@lists.postgresql.org Subject: [PATCH] Change text direction of documentation pages Message-ID: <20211107163140.rnqihhpwrc5vwt2l@nixos> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Ovh-Tracer-Id: 18405367252759051567 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvuddruddtgdekkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhepfffhvffukfggtggusehttdertddttddvnecuhfhrohhmpefpihhlshcuoehnihhlshesnhhilhhsrghnugdrrhgvqeenucggtffrrghtthgvrhhnpeefleefveffhfekjeelffeifeejleeujeeghfefueegiefhvdeuueejleejueelvdenucfkpheptddrtddrtddrtddpkeeirdduhedurdduudejrddvvdegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejieefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhilhhssehnihhlshgrnhgurdhrvgdprhgtphhtthhopehpghhsqhhlqdiffiifsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 @@ - PostgreSQL: Documentation: {{page.display_version}}: {{page.title}} + ‏PostgreSQL: Documentation: {{page.display_version}}: {{page.title}} {%block meta%}{%endblock%} {# used for custom meta tags such as description which we don't want for every page #} -- 2.31.1