Add og: meta tags for subreddit.pug
This commit is contained in:
parent
2f51368ac6
commit
811348c1af
|
@ -2,6 +2,9 @@ doctype html
|
||||||
html
|
html
|
||||||
head
|
head
|
||||||
title /r/#{subreddit}
|
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
|
include includes/head.pug
|
||||||
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
|
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
|
||||||
include includes/topbar.pug
|
include includes/topbar.pug
|
||||||
|
|
Loading…
Reference in New Issue