7 Commits

Author SHA1 Message Date
Alex Schroeder
830af140eb Add initial-scale=1.0, user-scalable=no to all templates 2025-04-21 16:28:39 +02:00
Alex Schroeder
ca85250514 Remove trailing semicolon in standard theme 2025-04-21 00:24:52 +02:00
Alex Schroeder
820763bf23 Change {{.Name}} to {{.Path}} in HTML templates
This is a major change for anybody who has templates. In order to
handle the encoding of directory and filenames correctly for uploads,
page.Base() was added. It required at url.PathUnescape because it uses
page.Name and that used to be escaped before rendering. Instead of
doing that, there's now the actual .Name (unescaped) and
.Path (escaped). This change is only necessary if the name contains
characters that the html/template doesn't escape for
encodePathSegment: semicolon, comma and question-mark. We can ignore
the forward-slash because we don't allow that in page names.
2025-03-12 09:29:38 +01:00
Alex Schroeder
ce64d04dde Switch to 70ch max-width for all 2024-01-17 22:09:11 +01:00
Alex Schroeder
9d43a8af40 Changed CSS for templates
Be careful when updating your templates because you don't want to
overwrite your domain name, admin name and email address in the
templates.
2023-10-10 11:12:28 +02:00
Alex Schroeder
2dcac930d2 Add links to the source files for the diff template 2023-10-09 21:51:51 +02:00
Alex Schroeder
f2276a969b Add diff 2023-10-09 18:41:37 +02:00