From: Rico Hoppe Date: Tue, 28 May 2024 16:23:15 +0000 (+0000) Subject: blog/post: use ogp module X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca00d5febd57b6d4b1a57e97fdf74c771c2a645c;p=ipfire.org.git blog/post: use ogp module Signed-off-by: Rico Hoppe --- diff --git a/src/templates/blog/post.html b/src/templates/blog/post.html index 596f4aae..aeb8e290 100644 --- a/src/templates/blog/post.html +++ b/src/templates/blog/post.html @@ -5,14 +5,12 @@ {% block meta %} {% import ipfire.accounts as accounts %} - - - - - - - - + {% module OpenGraph( + type="article", + title=post.title, + description=post.excerpt, + ) %} + {% if post.published_at %} {% end %} @@ -25,13 +23,6 @@ {% for tag in post.tags %} {% end %} - - - - - - - {% end block %} {% block container %}