Skip to content

Commit

Permalink
[#1713] Add indentation to meta tags section
Browse files Browse the repository at this point in the history
Just a few indents to make it easier to follow the logic.
  • Loading branch information
zzgvh committed Aug 24, 2015
1 parent 7c9e0b0 commit bcee843
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions akvo/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@
<meta property="og:site_name" content="Akvo RSR"/>
<meta property="og:url" content="http://{{request.META.HTTP_HOST}}{{request.path}}"/>
{% if update %}
<meta property="og:title" content="{{update.title}} - {{project.title}}"/>
<meta property="og:description" content="{{update.text|truncatechars_html:500}}"/>
<meta name="Description" content="{{update.text|truncatechars_html:500}}"/>
{% if update.photo %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{update.photo.url}}"/>
{% else %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{STATIC_URL}}images/rsrLogo.svg"/>
{% endif %}
<meta property="og:title" content="{{update.title}} - {{project.title}}"/>
<meta property="og:description" content="{{update.text|truncatechars_html:500}}"/>
<meta name="Description" content="{{update.text|truncatechars_html:500}}"/>
{% if update.photo %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{update.photo.url}}"/>
{% else %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{STATIC_URL}}images/rsrLogo.svg"/>
{% endif %}
{% elif project %}
<meta property="og:title" content="{{project.title}}"/>
<meta property="og:description" content="{{project.subtitle}}"/>
<meta name="Description" content="{{project.subtitle}}"/>
{% if project.current_image %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{project.current_image.url}}"/>
{% else %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{STATIC_URL}}images/rsrLogo.svg"/>
{% endif %}
<meta property="og:title" content="{{project.title}}"/>
<meta property="og:description" content="{{project.subtitle}}"/>
<meta name="Description" content="{{project.subtitle}}"/>
{% if project.current_image %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{project.current_image.url}}"/>
{% else %}
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{STATIC_URL}}images/rsrLogo.svg"/>
{% endif %}
{% else %}
<meta property="og:title" content="Akvo RSR"/>
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{STATIC_URL}}images/rsrLogo.svg"/>
<meta property="og:description" content="{% trans 'Akvo Really Simple Reporting is a web and Android-based system that makes it easy for development aid teams to bring complex networks of projects online and instantly share progress with everyone involved and interested.' %}"/>
<meta name="Description" content="{% trans 'Akvo Really Simple Reporting is a web and Android-based system that makes it easy for development aid teams to bring complex networks of projects online and instantly share progress with everyone involved and interested.' %}"/>
<meta property="og:title" content="Akvo RSR"/>
<meta property="og:image" content="http://{{request.META.HTTP_HOST}}{{STATIC_URL}}images/rsrLogo.svg"/>
<meta property="og:description" content="{% trans 'Akvo Really Simple Reporting is a web and Android-based system that makes it easy for development aid teams to bring complex networks of projects online and instantly share progress with everyone involved and interested.' %}"/>
<meta name="Description" content="{% trans 'Akvo Really Simple Reporting is a web and Android-based system that makes it easy for development aid teams to bring complex networks of projects online and instantly share progress with everyone involved and interested.' %}"/>
{% endif %}
{% if facebook_app_id %}
<meta property="fb:app_id" content="{{facebook_app_id}}"/>
Expand Down

0 comments on commit bcee843

Please sign in to comment.