From 8de8f45ac208216ac9a8aced1571e99b5e8d4cfc Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Wed, 29 May 2024 14:54:55 +0000 Subject: [PATCH] fireinfo/*: use ogp module Signed-off-by: Rico Hoppe --- src/templates/fireinfo/driver.html | 20 ++++---------------- src/templates/fireinfo/index.html | 20 ++++---------------- src/templates/fireinfo/processors.html | 20 ++++---------------- src/templates/fireinfo/profile.html | 20 ++++---------------- src/templates/fireinfo/vendors.html | 20 ++++---------------- 5 files changed, 20 insertions(+), 80 deletions(-) diff --git a/src/templates/fireinfo/driver.html b/src/templates/fireinfo/driver.html index 1ddfdc06..a0346f30 100644 --- a/src/templates/fireinfo/driver.html +++ b/src/templates/fireinfo/driver.html @@ -3,22 +3,10 @@ {% block title %}{{ driver }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Fireinfo - %s") % driver, + description=_("All known devices ran by %s") % driver, + ) %} {% end block %} {% block container %} diff --git a/src/templates/fireinfo/index.html b/src/templates/fireinfo/index.html index 727355a6..889befd7 100644 --- a/src/templates/fireinfo/index.html +++ b/src/templates/fireinfo/index.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Fireinfo") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Fireinfo"), + description="Statistics About IPFire", + ) %} {% end block %} {% block container %} diff --git a/src/templates/fireinfo/processors.html b/src/templates/fireinfo/processors.html index 66f85416..2221aa99 100644 --- a/src/templates/fireinfo/processors.html +++ b/src/templates/fireinfo/processors.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Processors") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Fireinfo - Processors"), + description="Statistics about Processors IPFire is running on", + ) %} {% end block %} {% block container %} diff --git a/src/templates/fireinfo/profile.html b/src/templates/fireinfo/profile.html index 7652fd32..563e2c56 100644 --- a/src/templates/fireinfo/profile.html +++ b/src/templates/fireinfo/profile.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Profile %s") % profile.public_id }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Fireinfo - Profile %s") % profile.public_id, + description="Statistics About Profile %s" % profile.public_id, + ) %} {% end block %} {% block container %} diff --git a/src/templates/fireinfo/vendors.html b/src/templates/fireinfo/vendors.html index 7cbf9321..24b4c4ac 100644 --- a/src/templates/fireinfo/vendors.html +++ b/src/templates/fireinfo/vendors.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Vendors") }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Fireinfo - Vendors"), + description="List of Vendors used with IPFire", + ) %} {% end block %} {% block container %} -- 2.47.2