From 869687b5dfa2da3284555c1c93ad02112d91317f Mon Sep 17 00:00:00 2001
From: squidfunk <scifish@gmail.com>
Date: Tue, 9 Feb 2016 23:48:01 +0100
Subject: [PATCH] Aaaaand we're good

---
 MANIFEST.in        |  4 +---
 README.md          | 28 +++++++++++++++++++++++++++-
 material/base.html |  3 +++
 setup.py           |  1 +
 src/base.html      |  6 ++++++
 5 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/MANIFEST.in b/MANIFEST.in
index 770a07a0..83ee74c8 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,2 @@
 recursive-include material *.ico *.js *.css *.html *.eot *.svg *.ttf *.woff
-recursive-exclude site *
-recursive-exclude * __pycache__
-recursive-exclude * *.py[co]
\ No newline at end of file
+recursive-exclude site *
\ No newline at end of file
diff --git a/README.md b/README.md
index 1cf3bcaf..cab56eef 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,27 @@
-A material design theme for MkDocs
\ No newline at end of file
+# Material
+
+[![PyPI Downloads][pypi-dl-image]][pypi-dl-link]
+[![PyPI Version][pypi-v-image]][pypi-v-link]
+
+A material design theme for MkDocs.
+
+![iOS](docs/images/screen.png)
+
+Install with `pip`:
+
+``` sh
+pip install mkdocs-material
+```
+
+Add the following line to your `mkdocs.yml`:
+
+``` yaml
+theme: 'material'
+```
+
+For detailed installation instructions and a demo, visit [squidfunk.github.io/mkdocs-material/](http://squidfunk.github.io/mkdocs-material/)
+
+[pypi-dl-image]: https://img.shields.io/pypi/dm/mkdocs-material.png
+[pypi-dl-link]: https://pypi.python.org/pypi/mkdocs-material
+[pypi-v-image]: https://img.shields.io/pypi/v/mkdocs-material.png
+[pypi-v-link]: https://pypi.python.org/pypi/mkdocs-material
\ No newline at end of file
diff --git a/material/base.html b/material/base.html
index 699f11e3..039e7b67 100644
--- a/material/base.html
+++ b/material/base.html
@@ -25,6 +25,9 @@
         <meta name="author" content="{{ site_author }}">
       {% endif %}
     {% endblock %}
+    <meta property="og:url" content="{{ canonical_url }}">
+    <meta property="og:title" content="{{ site_name }}">
+    <meta property="og:image" content="{{ canonical_url }}/{{ base_url }}/{{ config.extra.logo }}">
     <meta name="apple-mobile-web-app-title" content="{{ site_name }}">
     <meta name="apple-mobile-web-app-capable" content="yes">
     <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
diff --git a/setup.py b/setup.py
index f5d98afe..adc326c1 100644
--- a/setup.py
+++ b/setup.py
@@ -29,6 +29,7 @@ setup(
     description = 'A material design theme for MkDocs',
     author = 'Martin Donath',
     author_email = 'martin.donath@squidfunk.com',
+    keywords = ['mkdocs', 'documentation', 'theme'],
     packages = find_packages(),
     include_package_data = True,
     entry_points = {
diff --git a/src/base.html b/src/base.html
index 26c7d76d..a9a92c84 100644
--- a/src/base.html
+++ b/src/base.html
@@ -39,6 +39,12 @@
       {% endif %}
     {% endblock %}
 
+    <!-- Open graph tags -->
+    <meta property="og:url" content="{{ canonical_url }}" />
+    <meta property="og:title" content="{{ site_name }}"/>
+    <meta property="og:image"
+      content="{{ canonical_url }}/{{ base_url }}/{{ config.extra.logo }}" />
+
     <!-- Web application capability on iOS -->
     <meta name="apple-mobile-web-app-title" content="{{ site_name }}" />
     <meta name="apple-mobile-web-app-capable" content="yes" />
-- 
GitLab