From d0ff11dd2bb82f3d6755354e34b56153237bff1c Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Wed, 29 May 2024 14:54:34 +0000 Subject: [PATCH] lists/*: use ogp module Signed-off-by: Rico Hoppe --- src/templates/lists/index.html | 20 ++++---------------- src/templates/lists/subscribe.html | 20 ++++---------------- src/templates/lists/unsubscribe.html | 20 ++++---------------- 3 files changed, 12 insertions(+), 48 deletions(-) diff --git a/src/templates/lists/index.html b/src/templates/lists/index.html index 6009072c..eb90ab5a 100644 --- a/src/templates/lists/index.html +++ b/src/templates/lists/index.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Lists") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire - Mailing Lists"), + description="A Collection of every IPFire Mailing List", + ) %} {% end block %} {% block container %} diff --git a/src/templates/lists/subscribe.html b/src/templates/lists/subscribe.html index d68edd6a..ef7c2d61 100644 --- a/src/templates/lists/subscribe.html +++ b/src/templates/lists/subscribe.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Subscribe To %s") }} % {{ list }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire - Subscribe to %s") % list, + description="Subscribe and you will receive emails concerning %s!" % list", + ) %} {% end block %} {% block container %} diff --git a/src/templates/lists/unsubscribe.html b/src/templates/lists/unsubscribe.html index 2ad0c5e1..d2a74b9a 100644 --- a/src/templates/lists/unsubscribe.html +++ b/src/templates/lists/unsubscribe.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Unsubscribe from %s") }} % {{ list }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire - Unsubscribe from %s") % list, + description="Unsubscribe and you will no longer receive Emails concerning %s!" % list, + ) %} {% end block %} {% block container %} -- 2.47.2