mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Add experimental opengraph tags
This commit is contained in:
parent
fbe9583988
commit
ecdd37dd1b
3 changed files with 41 additions and 2 deletions
|
|
@ -172,7 +172,8 @@ module.exports = [
|
|||
if (post.isVideo()) await post.fetchVideoURL()
|
||||
return render(200, "pug/post.pug", {
|
||||
title: getPageTitle(post),
|
||||
post
|
||||
post,
|
||||
website_origin: constants.website_origin
|
||||
})
|
||||
}).catch(error => {
|
||||
if (error === constants.symbols.NOT_FOUND) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue