[PATCH] Change text direction of documentation pages - Mailing list pgsql-www

From Nils
Subject [PATCH] Change text direction of documentation pages
Date
Msg-id 20211107163140.rnqihhpwrc5vwt2l@nixos
Whole thread Raw
Responses Re: [PATCH] Change text direction of documentation pages  (Magnus Hagander <magnus@hagander.net>)
List pgsql-www
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




pgsql-www by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing
Next
From: Nils
Date:
Subject: [PATCH] Improve portability of pgweb/load_initial_data.sh