From a71f9deba605e82be7ca2daac2b95304d6174aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Thu, 19 Mar 2020 00:12:42 +0100 Subject: [PATCH] fix opengraph in all document listing --- sdbs_pile/pile/templates/front_doc_listing.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/sdbs_pile/pile/templates/front_doc_listing.html b/sdbs_pile/pile/templates/front_doc_listing.html index 310eb19..c0abda7 100644 --- a/sdbs_pile/pile/templates/front_doc_listing.html +++ b/sdbs_pile/pile/templates/front_doc_listing.html @@ -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 %} - - - - -{% endblock %} \ No newline at end of file + {% if tag %} + + + + + {% endif %} +{% endblock %}