From: Rico Hoppe Date: Wed, 29 May 2024 14:00:27 +0000 (+0000) Subject: docs/404, recent-changes, revisions, search-results, tree: use ogp X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c503d83bb5ded1a1d8db6d8651e50a7081d01d1;p=ipfire.org.git docs/404, recent-changes, revisions, search-results, tree: use ogp module Signed-off-by: Rico Hoppe --- diff --git a/src/templates/docs/404.html b/src/templates/docs/404.html index b821b3d7..dec3f3ac 100644 --- a/src/templates/docs/404.html +++ b/src/templates/docs/404.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Page Not Found") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Documentation - Page Not Found"), + description="This page does not yet exist. You can create it now!", + ) %} {% end block %} {% block container %} diff --git a/src/templates/docs/recent-changes.html b/src/templates/docs/recent-changes.html index 80cee186..e1688b8e 100644 --- a/src/templates/docs/recent-changes.html +++ b/src/templates/docs/recent-changes.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Recent Changes") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Documentation - Recent Changes"), + description="Overview all Recent Changes within our Documentation", + ) %} {% end block %} {% block container %} diff --git a/src/templates/docs/revisions.html b/src/templates/docs/revisions.html index 01765f3d..9a766092 100644 --- a/src/templates/docs/revisions.html +++ b/src/templates/docs/revisions.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Revisions of %s") % page.title }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title={{ _("IPFire Documentation - Revivions of %s") % page.title }}, + description={{ _("See Revisions of %s") % page.title }}, + ) %} {% end block %} {% block main %} diff --git a/src/templates/docs/search-results.html b/src/templates/docs/search-results.html index d6cb0d8d..3c7ba154 100644 --- a/src/templates/docs/search-results.html +++ b/src/templates/docs/search-results.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Search results for '%s'") % q }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title={{ _("IPFire Documentation - Search: '%s'") % q }}, + description={{ _("Search Results for '%s'") % q }}, + ) %} {% end block %} {% block container %} diff --git a/src/templates/docs/tree.html b/src/templates/docs/tree.html index 15228ce3..152b50db 100644 --- a/src/templates/docs/tree.html +++ b/src/templates/docs/tree.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Tree") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Documentation - Tree"), + description="View a list of all pages, well structured in a tree", + ) %} {% end block %} {% block container %}