From 22328e318c02ae6f6aa4acaa014d03973cde5f5a Mon Sep 17 00:00:00 2001 From: redmt Date: Fri, 10 Jun 2022 11:30:13 +0200 Subject: [PATCH] Add og: meta tags to index.pug --- views/index.pug | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/views/index.pug b/views/index.pug index 841ef48..eb80a97 100644 --- a/views/index.pug +++ b/views/index.pug @@ -2,6 +2,13 @@ doctype html html head title teddit + meta(property='og:title', content='frontpage : teddit') + meta(property='og:description', content='Teddit is a free and open source alternative Reddit front-end focused on privacy. Teddit doesn\'t require you to have JavaScript enabled in your browser.') + meta(property='og:image', content='/logo512.png') + meta(property='og:image:width', content='128') + meta(property='og:image:height', content='128') + meta(property='og:author_name', content='') + meta(name='twitter:card', content='summary') include includes/head.pug body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "") include includes/topbar.pug