Add og: meta tags for subreddit.pug

This commit is contained in:
redmt 2022-06-10 15:20:56 +02:00
parent 2f51368ac6
commit 811348c1af
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@ doctype html
html
head
title /r/#{subreddit}
meta(property='og:title', content='/r/' + subreddit)
meta(property='og:description', content='' + unescape(subreddit_about.public_description_html, user_preferences))
include includes/meta_default.pug
include includes/head.pug
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
include includes/topbar.pug