From ae429bcbf9d5c61f41362bd13b2b12dbc0f2836e Mon Sep 17 00:00:00 2001 From: redmt Date: Fri, 10 Jun 2022 16:09:40 +0200 Subject: [PATCH] Add og: meta tags in search.pug --- views/search.pug | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/search.pug b/views/search.pug index 8957a4f..f93a557 100644 --- a/views/search.pug +++ b/views/search.pug @@ -3,8 +3,12 @@ html head if no_query title search teddit + meta(property='og:title', content='search - teddit') else title search results for #{q} + meta(property='og:title', content='search results for ' + q + ' - teddit') + include includes/meta_default.pug + include includes/meta_description.pug include includes/head.pug body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "") include includes/topbar.pug