Add OG and Rich Snippets.
This commit is contained in:
parent
40dc516ef8
commit
c2d323d09f
4 changed files with 42 additions and 38 deletions
|
@ -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 %}– {{ article.title }}{% endblock %}
|
||||
|
@ -26,3 +30,7 @@
|
|||
{% include "partial/disqus.html" %}
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
||||
{% block additional_js %}
|
||||
{% include "partial/jsonld_article.html" %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue