Add OG and Rich Snippets.

This commit is contained in:
Alexandre Vicenzi 2015-07-19 23:34:54 -03:00
parent 40dc516ef8
commit c2d323d09f
4 changed files with 42 additions and 38 deletions

View file

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% block head %}
<meta name="keywords" content="{{ article.tags|join(', ') }}">
{% block meta %}
<meta name="author" content="{{ article.author.name }}" />
<meta name="description" content="{{ article.summary|striptags }}" />
<meta name="keywords" content="{{ article.tags|join(', ') }}">
{% include "partial/og_article.html" %}
{% endblock %}
{% block title %}&ndash; {{ article.title }}{% endblock %}
@ -26,3 +30,7 @@
{% include "partial/disqus.html" %}
</article>
{% endblock %}
{% block additional_js %}
{% include "partial/jsonld_article.html" %}
{% endblock %}