From 7c9e0b08e057248224eb009199c07834c8fe75d1 Mon Sep 17 00:00:00 2001 From: Kasper Brandt Date: Tue, 18 Aug 2015 16:00:49 +0300 Subject: [PATCH 1/2] [#1713] Use the meta name='Description' tag --- akvo/templates/base.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/akvo/templates/base.html b/akvo/templates/base.html index 20e666ce25..2f8b4bf8a1 100644 --- a/akvo/templates/base.html +++ b/akvo/templates/base.html @@ -12,6 +12,7 @@ {% if update %} + {% if update.photo %} {% else %} @@ -20,6 +21,7 @@ {% elif project %} + {% if project.current_image %} {% else %} @@ -29,6 +31,7 @@ + {% endif %} {% if facebook_app_id %} From bcee84389bbb2afe8fb3183fda9f21fad0b33b1f Mon Sep 17 00:00:00 2001 From: Gabriel von Heijne Date: Mon, 24 Aug 2015 22:38:09 +0200 Subject: [PATCH 2/2] [#1713] Add indentation to meta tags section Just a few indents to make it easier to follow the logic. --- akvo/templates/base.html | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/akvo/templates/base.html b/akvo/templates/base.html index 2f8b4bf8a1..2c48d61659 100644 --- a/akvo/templates/base.html +++ b/akvo/templates/base.html @@ -10,28 +10,28 @@ {% if update %} - - - - {% if update.photo %} - - {% else %} - - {% endif %} + + + + {% if update.photo %} + + {% else %} + + {% endif %} {% elif project %} - - - - {% if project.current_image %} - - {% else %} - - {% endif %} + + + + {% if project.current_image %} + + {% else %} + + {% endif %} {% else %} - - - - + + + + {% endif %} {% if facebook_app_id %}