Added meta description tags (to improve search result usability): drafts/RFCs, IPR disclosures, liaison statements

- Legacy-Id: 2079
This commit is contained in:
Pasi Eronen 2010-03-12 22:03:00 +00:00
parent ec0a366e71
commit b3518f0b46
5 changed files with 13 additions and 0 deletions

View file

@ -53,6 +53,7 @@ div.diffTool { border: 1px solid #cccccc; background: #edf5ff; padding: 8px 4px;
{% block pagehead %}
<link rel="alternate" type="application/atom+xml" href="/feed/comments/{% if info.is_rfc %}rfc{{doc.rfc_number}}{% else %}{{doc.draft_name}}{% endif %}/" />
<meta name="description" content="{% block doc_meta_description %}{% endblock %}" />
{% endblock %}
{% block content %}

View file

@ -35,6 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% load ietf_filters %}
{% block title %}{{ doc.draft_name_and_revision }}{% endblock %}
{% block doc_meta_description %}{{ doc.title }} ({{info.type}}; {{doc.publication_date|date:"Y"}}){% endblock %}
{% block doc_h1 %}{{ doc.title|escape }}<br/>{{ doc.draft_name_and_revision }}{% endblock %}
{% block doc_metatable %}

View file

@ -35,6 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% load ietf_filters %}
{% block title %}RFC {{ doc.rfc_number }}{% endblock %}
{% block doc_meta_description %}{{ doc.title }} ({{doc.maturity_level}}, {{doc.publication_date|date:"Y"}}){% if doc.obsoleted_by %}; Obsoleted by {{doc.obsoleted_by}}{% endif %}{% endblock %}
{% block doc_h1 %}{{ doc.title|escape }}<br/>RFC {{ doc.rfc_number }}{% endblock %}
{% block doc_metatable %}

View file

@ -2,6 +2,12 @@
{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% block title %}IPR Details - {{ ipr.title|escape }}{% endblock %}
{% block pagehead %}
<meta name="description" content="IPR disclosure #{{ipr.ipr_id}}: {{ ipr.title }} ({{ ipr.submitted_date|date:"Y" }})" />
{% endblock %}
{% block morecss %}
table.ipr { margin-top: 1em; }
.ipr .light td { background: #eeeeee; }

View file

@ -3,6 +3,10 @@
{% load ietf_filters %}
{% block title %}Liaison Statement: {% include 'liaisons/liaison_title.html' %}{% endblock %}
{% block pagehead %}
<meta name="description" content="Liaison Statement from {{ object.from_body }}{% if not object.by_secretariat %} to {{object.to_body}}{% endif %} ({{ object.submitted_date|date:"Y" }})" />
{% endblock %}
{% block morecss %}
.ietf-liaison-details tr { vertical-align:top; }
{% endblock morecss %}