From: Rico Hoppe Date: Wed, 29 May 2024 14:55:39 +0000 (+0000) Subject: users/*: use ogp module X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3631c87c988461bc5b6b4185b8adfadb3d20f8a;p=ipfire.org.git users/*: use ogp module Signed-off-by: Rico Hoppe --- diff --git a/src/templates/users/groups/index.html b/src/templates/users/groups/index.html index 1714a06c..67d8ed0f 100644 --- a/src/templates/users/groups/index.html +++ b/src/templates/users/groups/index.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Groups") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire - Groups"), + description="Groups Help Organising Our IPFire Staff to ensure Fast and Coordinated Development", + ) %} {% end block %} {% block container %} diff --git a/src/templates/users/index.html b/src/templates/users/index.html index 22efbefb..4683cff8 100644 --- a/src/templates/users/index.html +++ b/src/templates/users/index.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Users") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire - Users"), + description="Users of The IPFire Project", + ) %} {% end block %} {% block container %} diff --git a/src/templates/users/show.html b/src/templates/users/show.html index 84152a1e..43f8c848 100644 --- a/src/templates/users/show.html +++ b/src/templates/users/show.html @@ -3,22 +3,10 @@ {% block title %}{{ account }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire %s" % account), + description="The User Page of %s" % account.uid, + ) %} {% end block %} {% block container %} diff --git a/src/templates/users/subscribe.html b/src/templates/users/subscribe.html index 58e97553..e2626602 100644 --- a/src/templates/users/subscribe.html +++ b/src/templates/users/subscribe.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Subscribe") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire - Subscribe"), + description="Subscribe and you will receive important emails from the IPFire Project", + ) %} {% end block %} {% block container %} diff --git a/src/templates/users/unsubscribe.html b/src/templates/users/unsubscribe.html index 56b4f4bd..22e9cdfe 100644 --- a/src/templates/users/unsubscribe.html +++ b/src/templates/users/unsubscribe.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Unsubscribe") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire - Unsubscribe"), + description="If you unsubscribe, you will no longer receive important emails from the IPFire Project", + ) %} {% end block %} {% block container %}