[PATCH] Change text direction of documentation pages

From: Nils <nils(at)nilsand(dot)re>
To: pgsql-www(at)lists(dot)postgresql(dot)org
Subject: [PATCH] Change text direction of documentation pages
Date: 2021-11-07 16:31:40
Message-ID: 20211107163140.rnqihhpwrc5vwt2l@nixos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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>&rlm;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

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Nils 2021-11-07 16:49:51 [PATCH] Improve portability of pgweb/load_initial_data.sh
Previous Message Magnus Hagander 2021-11-06 17:02:09 Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing