mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add og:image tag
This commit is contained in:
parent
6df02d16c0
commit
bded19ec08
2
_deploy
2
_deploy
@ -1 +1 @@
|
||||
Subproject commit c5285623be67546a3db0c061364515ab64154953
|
||||
Subproject commit b19ecf262f6dbd6d57102c0f4b7c78d7b171bd00
|
@ -21,10 +21,9 @@
|
||||
<meta property="og:title" content="{% if post.title %}{{ post.title }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
||||
<meta property="og:site_name" content="{{ site.title }}">
|
||||
<meta property="og:url" content="{% if canonical %}{{ canonical }}{% else %}{{ site.url }}{% endif %}/">
|
||||
<meta property="og:type" content="{% if page.facebook.type %}{{ page.facebook.type }}{% else %}website{% endif %}">
|
||||
<meta property="og:type" content="{% if page.date %}article{% else %}website{% endif %}">
|
||||
<meta property="og:description" content="{{ fb_description | strip_html | condense_spaces | truncate:200 }}">
|
||||
{% if site.social.facebook.user %}<meta property="og:author" content="https://facebook.com/{{ site.social.facebook.user }}">{% endif %}
|
||||
{% if page.facebook.image %}<meta property="og:image" content="{{ page.facebook.image }}">{% endif %}
|
||||
<meta property="og:image" content="{% if page.og_image %}{{ page.og_image | prepend: site.url }}{% else %}https://home-assistant.io/images/favicon-192x192.png{% endif %}">
|
||||
{% endif %}
|
||||
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="{{ root_url }}{{ site.subscribe_rss }}" rel="alternate" title="{{ site.title }}" type="application/atom+xml">
|
||||
|
@ -6,6 +6,7 @@ date: 2015-08-26 08:12 -0700
|
||||
date_formatted: "August 26, 2015"
|
||||
comments: true
|
||||
categories: user-stories
|
||||
og_image: /images/blog/2015-08-laundry-automation/moteino-and-sensors.jpg
|
||||
---
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user