Added opengraph image to posts

This commit is contained in:
2021-05-12 09:27:51 +01:00
parent ce108e696d
commit 8f13ad501d
2 changed files with 8 additions and 2 deletions

4
app.js
View File

@@ -57,7 +57,9 @@ Handlebars.registerHelper("buildTitle", function(title, siteTitle){
}
return title;
});
Handlebars.registerHelper("jointags", function(tags){
return (tags || '').split(' ').join(',');
});
Metalsmith(__dirname)
.use(define({