]> git.ipfire.org Git - ipfire.org.git/commitdiff
docs: Fix more Python syntax errors
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Jun 2024 16:23:25 +0000 (16:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Jun 2024 16:23:25 +0000 (16:23 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/docs/files/detail.html
src/templates/docs/files/index.html

index d71594a8c9b62a8224caa5847e8ee0a23a7287c1..d3297336d572e39b6428dde0492a6c5d09185116 100644 (file)
@@ -4,8 +4,7 @@
 
 {% block head %}
        {% module OpenGraph(
-               title={{ _("IPFire Documentation - {{ file.filename }}") }},
-               description="View a file uploaded by {{ file.author }} at {{ locale.format_date(file.created_at) }}",
+               title=_("IPFire Documentation - %s") % file.filename,
        ) %}
 {% end block %}
 
index 0b1f3af8eb9a902ede4d994b3d1283a932b392f3..4a2ea7099519a7093351b21befa5fc1c957272d0 100644 (file)
@@ -4,8 +4,7 @@
 
 {% block head %}
        {% module OpenGraph(
-               title={{ _("IPFire Documentation - {{ file.filename }}") }},
-               description="The File Management System of the IPFire Documentation",
+               title=_("IPFire Documentation - Files"),
        ) %}
 {% end block %}