Add og: meta tags in user.pug

This commit is contained in:
redmt 2022-06-10 16:10:28 +02:00
parent 7a508c55ee
commit 7f8cc27ffb
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ doctype html
html
head
title overview for #{data.username}
meta(property='og:title', content='u/' + data.username + ' - teddit')
include includes/meta_default.pug
include includes/head.pug
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
include includes/topbar.pug