From 7667190a9c417fb8de8dc459619feaa67cd4013f Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Wed, 19 Oct 2022 21:14:31 +0200 Subject: [PATCH] added some OpenGraph meta tags --- embed/initial/base.html | 13 +++++++++++++ post.go | 21 ++++++++++++--------- renderer.go | 32 ++++++++++++++++++++++---------- renderer_test.go | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+), 19 deletions(-) diff --git a/embed/initial/base.html b/embed/initial/base.html index 307b405..3bf225e 100644 --- a/embed/initial/base.html +++ b/embed/initial/base.html @@ -6,6 +6,19 @@ {{ .Title }} - {{ .User.Config.Title }} + + + {{ if .Description }} + + + {{ end }} + {{ if .Type }} + + {{ end }} + {{ if .SelfUrl }} + + {{ end }} +