From: Michael Tremer Date: Tue, 27 Jun 2023 09:09:05 +0000 (+0000) Subject: docs: Make the content column and images less wide X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ae53eac6a866f1885d32197afca7263f0fc9d63;p=ipfire.org.git docs: Make the content column and images less wide Signed-off-by: Michael Tremer --- diff --git a/src/backend/wiki.py b/src/backend/wiki.py index 95849ee1..3044a8c8 100644 --- a/src/backend/wiki.py +++ b/src/backend/wiki.py @@ -615,10 +615,14 @@ class WikiRenderer(misc.Object): alt_text, url, caption = m.groups() html = """ -
- %s -
%s
-
+
+
+
+ %s +
%s
+
+
+
""" # Skip any absolute and external URLs diff --git a/src/templates/docs/page.html b/src/templates/docs/page.html index 5ada046b..81445fe8 100644 --- a/src/templates/docs/page.html +++ b/src/templates/docs/page.html @@ -32,56 +32,64 @@
-
- {% raw page.html %} +
+
+
+ {% raw page.html %} +
+
- +
+
+ -
-
-
- {% if current_user %} - {% if page.is_watched_by(current_user) %} - - - - {% else %} - - +
+
+
+ {% if current_user %} + {% if page.is_watched_by(current_user) %} + + + + {% else %} + + + + {% end %} + {% end %} + + + {{ _("Older Revisions") }} - {% end %} - {% end %} - - {{ _("Older Revisions") }} - +
+ {{ locale.format_date(page.timestamp) }} +
-
- {{ locale.format_date(page.timestamp) }} + {% if page.author %} + + {{ page.author }} + + {% end %} +
- - {% if page.author %} - - {{ page.author }} - - {% end %}