Rename site.logo to site.og_image

This commit is contained in:
Michael Rose
2016-04-06 15:50:10 -04:00
parent 6738fa4cbb
commit 2808bd322c
5 changed files with 10 additions and 12 deletions

View File

@ -61,8 +61,8 @@
<meta name="twitter:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: base_path }}{% endif %}">
{% else %}
<meta name="twitter:card" content="summary">
{% if site.logo %}
<meta name="twitter:image" content="{{ site.logo | prepend: "/images/" | prepend: base_path }}">
{% if site.og_image %}
<meta name="twitter:image" content="{{ site.og_image | prepend: "/images/" | prepend: base_path }}">
{% endif %}
{% endif %}
@ -96,13 +96,13 @@
{% endif %}
{% endif %}
{% if site.logo %}
{% if site.og_image %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"url": {{ seo_url | jsonify }},
"logo": {{ site.logo | prepend: "/" | prepend: seo_url | jsonify }}
"logo": {{ site.og_image | prepend: "/" | prepend: seo_url | jsonify }}
}
</script>
{% endif %}