diff --git a/app.js b/app.js index 0caa8c6..0fdcab8 100644 --- a/app.js +++ b/app.js @@ -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({ diff --git a/templates/partials/head.html b/templates/partials/head.html index 4cff1c9..966ff36 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -9,7 +9,11 @@ - + + + + +