Skip to content

Commit

Permalink
Ajoute le temaplate manquant
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-D committed Jul 21, 2014
1 parent f99a4c1 commit c238086
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/tutorial/includes/opengraph.part.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<meta property="og:type" content="article">

{% if tutorial.create_at %}
<meta property="og:article:published_time" content="{{ tutorial.create_at|date:"c" }}">
{% endif %}
{% if tutorial.pubdate %}
<meta property="og:article:modified_time" content="{{ tutorial.pubdate|date:"c" }}">
{% endif %}

<meta property="og:article:section" content="Tutoriels">
{% for catofsubcat in tutorial.subcategory.all %}
<meta property="og:article:tag" content="{{ catofsubcat.title }}">
{% endfor %}

0 comments on commit c238086

Please sign in to comment.