Skip to content

Commit

Permalink
added: OpenGraph metadata, #78
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnR committed Sep 4, 2018
1 parent c5265a7 commit 3991198
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/templates/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ./mixins
include ./mixins-img
block vars
doctype html
html(lang='en')
html(lang='en', prefix="og: http://ogp.me/ns#")
head
include ./tracking

Expand All @@ -13,7 +13,11 @@ html(lang='en')
meta(name='author', content='Martijn van de Rijdt (Enketo LLC)')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(name='Description', content=`project: Enketo Open-Source Project, ecosystem: ODK OpenDataKit Open Data Kit${current ? ', page: '+current+' Enketo' : ''}`)

meta(property='og:title', content='Enketo')
meta(property='og:type', content='website')
meta(property='og:url', content='https://enketo.org')
meta(property='og:image', content='https://enketo.org/media/images/logos/enketo_bare_150x56.png')

//- Load styles inline to increase loading speed
style
include:scss ../scss/all.scss
Expand Down

0 comments on commit 3991198

Please sign in to comment.