diff --git a/views/layout.pug b/views/layout.pug index 9ba6bde..21ca83f 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -8,11 +8,12 @@ html meta(name='twitter:card' value='This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.') meta(property='og:title' content=helpers.formatMetaTitle(title)) meta(property='og:type' content='article') - meta(property='og:url' content='http://contentful-example-app.herokuapp.com/') + meta(property='og:url' content=`http://contentful-example-app.herokuapp.com${currentPath}`) meta(property='og:image' content='http://contentful-example-app.herokuapp.com/og-image.jpg') meta(property='og:image:type' content='image/jpeg') meta(property='og:image:width' content='1200') meta(property='og:image:height' content='1200') + meta(property='og:image:alt' content='This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.') meta(property='og:description' content='This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.') link(rel='apple-touch-icon' sizes='120x120' href='/apple-touch-icon.png') link(rel='icon' type='image/png' sizes='32x32' href='/favicon-32x32.png')