From 93dd5ba1db7425550b5aa22aa2198f7043a80a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Fri, 6 Oct 2017 16:53:45 +0200 Subject: [PATCH] fix(markup): add viewport for mobile and basic social metatags --- views/layout.pug | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/views/layout.pug b/views/layout.pug index 17f2d8f..a6f907d 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -3,6 +3,14 @@ html head title= title link(rel='stylesheet', href='/stylesheets/style.css') + meta(name='viewport' content='width=device-width, initial-scale=1') + meta(name='description' content='This is The Example App, an application built to serve you as a reference while building your own applications using Contentful.') + 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='Title Here') + meta(property='og:type' content='article') + meta(property='og:url' content='http://contentful-example-app.herokuapp.com/') + meta(property='og:image' content='http://contentful-example-app.herokuapp.com/images/logo.svg') + 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.') body .main .main__header @@ -22,7 +30,7 @@ html | View on Github .header__controls - form(action="" method="get") + form(action='' method='get') .group label(for='api') API: select(name='api' onChange='this.form.submit()')