Add custom OpenGraph to posts

Thanks to @Eyadplayz for the idea
This commit is contained in:
Monty
2021-10-04 22:07:08 +02:00
parent 1b37618e0b
commit 9afbd2d08a
2 changed files with 77 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ router.get('/:slug', async (request, response, next) => {
const htmlPost = marked(content);
response.render('blogpost', {
layout: 'main',
layout: 'blog-opengraph',
locale,
localeString,
postInfo,