fix opengraph in all document listing
This commit is contained in:
parent
5611978f57
commit
a71f9deba6
1 changed files with 8 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
{% extends "front_base.html" %}
|
||||
|
||||
{% block title %}: Filed under "{{ tag.name }}"{% endblock %}
|
||||
{% block title %}{% if tag %}: Filed under "{{ tag.name }}"{% else %}: All documents{% endif %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if tag %}
|
||||
|
@ -24,8 +24,10 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block meta-og %}
|
||||
<meta property="og:title" content="The /-\ Pile: Documents under "{{ tag.name }}""/>
|
||||
<meta property="og:url" content="{% url "pile:tag" tag.id %}"/>
|
||||
<meta property="og:description" content="{{ tag.description }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
{% endblock %}
|
||||
{% if tag %}
|
||||
<meta property="og:title" content="The /-\ Pile: Documents under "{{ tag.name }}""/>
|
||||
<meta property="og:url" content="{% url "pile:tag" tag.id %}"/>
|
||||
<meta property="og:description" content="{{ tag.description }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue