From 5a3dd4a07ba681814af6c31bf3a0ebb490a651c4 Mon Sep 17 00:00:00 2001 From: Pixelastic Date: Mon, 21 Dec 2015 17:15:39 +0100 Subject: [PATCH] docs(opengraph): Add opengraph meta --- docs/_config.yml | 12 +++++++++--- docs/_layouts/default.html | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index afb36b84..76c111bb 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,10 +1,16 @@ # Site settings -title: Documentation Search -description: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eum quod hic qui, possimus ab ratione illo reiciendis nostrum sit aperiam debitis enim illum sequi reprehenderit porro error, sint earum rem! baseurl: "/docsearch" # the subpath of your site, e.g. /blog/ +host: 0.0.0.0 + +# OpenGraph / Twitter +title: DocSearch +description: Algolia DocSearch is the easiest way to add search to your documentation. Just send us your URL, and we'll send you the implementation code. +tagline: DocSearch +card_image: /path/to/card.jpg +card_image_width: 1200 +card_image_height: 600 twitter_username: algolia github_username: algolia -host: 0.0.0.0 # Navigation navigation: diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index a7134b9d..f27d39d3 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -7,6 +7,20 @@ {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} + + + + + + + + + + + + + +