fix(markup): add viewport for mobile and basic social metatags

This commit is contained in:
Benedikt Rötsch
2017-10-06 16:53:45 +02:00
committed by Benedikt Rötsch
parent 6edacc7b1c
commit 93dd5ba1db

View File

@@ -3,6 +3,14 @@ html
head head
title= title title= title
link(rel='stylesheet', href='/stylesheets/style.css') 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 body
.main .main
.main__header .main__header
@@ -22,7 +30,7 @@ html
| View on Github | View on Github
.header__controls .header__controls
form(action="" method="get") form(action='' method='get')
.group .group
label(for='api') API: label(for='api') API:
select(name='api' onChange='this.form.submit()') select(name='api' onChange='this.form.submit()')