OG and Rich Snippets.

This commit is contained in:
Alexandre Vicenzi 2015-07-20 01:52:02 -03:00
parent c2d323d09f
commit c6255cf531
6 changed files with 85 additions and 0 deletions

14
templates/partial/og.html Normal file
View file

@ -0,0 +1,14 @@
{% if OG_LOCALE %}
{% set default_locale = OG_LOCALE %}
{% else %}
{% set default_locale = 'en_US' %}
{% endif %}
<meta property="og:site_name" content="{{ SITENAME }}"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="{{ SITENAME }}"/>
<meta property="og:description" content="{{ SITEDESCRIPTION }}"/>
<meta property="og:locale" content="{{ default_locale }}"/>
<meta property="og:url" content="{{ SITEURL }}"/>
{% if SITELOGO %}
<meta property="og:image" content="{{ SITELOGO }}">
{% endif %}