From fd1a87527e6699958d7914d4d1868a014282c4a4 Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Wed, 29 May 2024 14:55:18 +0000 Subject: [PATCH] location/*: use ogp module Signed-off-by: Rico Hoppe --- src/templates/location/index.html | 20 ++++---------------- src/templates/location/lookup.html | 20 ++++---------------- 2 files changed, 8 insertions(+), 32 deletions(-) diff --git a/src/templates/location/index.html b/src/templates/location/index.html index 12bfff7b..0e55de3a 100644 --- a/src/templates/location/index.html +++ b/src/templates/location/index.html @@ -1,22 +1,10 @@ {% extends "../base.html" %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Location"), + description="A powerful location database to find people on the Internet", + ) %} {% end block %} {% block title %}{{ _("Welcome to IPFire Location") }}{% end block %} diff --git a/src/templates/location/lookup.html b/src/templates/location/lookup.html index 631348b4..1473d02e 100644 --- a/src/templates/location/lookup.html +++ b/src/templates/location/lookup.html @@ -3,22 +3,10 @@ {% block title %}{{ _("Location of %s") % address }}{% end block %} {% block head %} - - - - - - - - - - - - - - - - + {% module OpenGraph( + title=_("IPFire Location - Lookup %s") % address, + description="Location Data of %s" % address, + ) %} {% end block %} {% block container %} -- 2.47.2