diff --git a/lib/template.html b/lib/template.html
index e21d56b..7768721 100644
--- a/lib/template.html
+++ b/lib/template.html
@@ -73,14 +73,6 @@
{% if seo_site_title %}
-
{% endif %}
{% if page.image %}
@@ -98,17 +90,6 @@
{% if page.previous.url %}
{% endif %}
-
-
{% endif %}
{% if site.twitter %}
@@ -140,27 +121,56 @@
{% endif %}
-{% if site.logo %}
-
+
+{% if page.seo and page.seo.name %}
+ "name" : {{ page.seo.name | jsonify }},
+{% elsif page.url == "/" and site.social and site.social.name %}
+ "name" : {{ site.social.name | jsonify }},
+{% elsif page.url == "/" and seo_site_title %}
+ "name" : {{ seo_site_title | jsonify }},
{% endif %}
+{% if seo_page_title %}
+ "headline": {{ seo_page_title | jsonify }},
+{% endif %}
+
+{% if page.image %}
+ "image": {{ page.image | jsonify }},
+{% endif %}
+
+{% if page.date %}
+ "datePublished": {{ page.date | date_to_xmlschema | jsonify }},
+{% endif %}
+
+{% if page.description %}
+ "description": {{ page.description | jsonify }},
+{% endif %}
+
+{% if site.logo %}
+ "logo": {{ site.logo | prepend: "/" | prepend: seo_url | jsonify }},
+{% endif %}
+
+{% if page.seo and page.seo.links %}
+ "sameAs" : {{ page.seo.links | jsonify }},
+{% elsif page.url == "/" and site.social and site.social.links %}
+ "sameAs" : {{ site.social.links | jsonify }},
+{% endif %}
+
+ "url" : "{{ page.url | prepend: seo_url | replace:'/index.html','/' }}"
+ }
+
+