Some SEO improvement

This commit is contained in:
Luca Chiricozzi
2015-01-01 21:06:34 +01:00
parent e725e3b638
commit 036c3266a5
11 changed files with 138 additions and 81 deletions

13
templates/common_seo.html Normal file
View File

@@ -0,0 +1,13 @@
{% block seo %}
<meta property="og:title" content="{{ SITENAME }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ SITEURL }}" />
<meta name="twitter:url" content="{{ SITEURL }}" />
{% if OG_IMAGE %}
<meta property="og:image" content="{{ SITEURL }}/static/{{ OG_IMAGE }}" />
<meta property="og:image:type" content="{{ OG_IMAGE_TYPE }}" />
<meta name="twitter:image" content="{{ SITEURL }}/static/{{ OG_IMAGE }}" />
{% endif %}
{% endblock %}