Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #210 from cfpb/fixes_for_meta_tag
Browse files Browse the repository at this point in the history
Fix for meta tag on `/retirement/before-you-claim/`
  • Loading branch information
sebworks authored Dec 6, 2017
2 parents c38f027 + bbbd351 commit dd76572
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions retirement_api/templates/claiming.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{% load static from staticfiles %}
{% load i18n %}
{% block title %} {% trans page.title %} {% endblock %}
{% trans page.title as TITLE %}
{% block nemo_styles %}
{% endblock %}
{% block app_css %}
Expand All @@ -27,16 +26,14 @@
{% endblock %}

{% block page_meta %}
{{ block.super }}
{% if not es %}
<meta property="og:title" content="{{ TITLE }} &gt; Consumer Financial Protection Bureau"/>
<meta property="og:url" content="{{ URL }}"/>

<meta name="description" content="The age you claim Social Security affects your lifetime income. Our Planning for Retirement tool helps you think through this decision."/>

<meta property="og:description" content="The age you claim Social Security affects your lifetime income. Our Planning for Retirement tool helps you think through this decision."/>
{% if not es %}
<meta name="description" content="The age you claim Social Security affects your lifetime income. Our Planning for Retirement tool helps you think through this decision."/>
<meta property="og:description" content="The age you claim Social Security affects your lifetime income. Our Planning for Retirement tool helps you think through this decision."/>
{% endif %}
<meta property="og:title" content="{% trans page.title %} &gt; Consumer Financial Protection Bureau"/>
<meta property="og:url" content="{{ request.build_absolute_uri }}"/>
{% endblock %}

{% block open_graph_image %}
<meta property="og:image"
content="https://s3.amazonaws.com/files.consumerfinance.gov/f/images/ask-cfpb-social-retirement.original.png">
Expand Down

0 comments on commit dd76572

Please sign in to comment.