From 585b53a52a441761690ef81cd293597f38fa8a2f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 8 Sep 2012 11:08:36 -0500 Subject: Add structured data markup from schema.org to package details This might help out search engines show more helpful blurbs for our package details pages. Tested using the Google Rich Snippets Testing Tool at http://www.google.com/webmasters/tools/richsnippets. Signed-off-by: Dan McGee --- templates/packages/details.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'templates/packages') diff --git a/templates/packages/details.html b/templates/packages/details.html index 9e898b7f..5a5598a0 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -72,6 +72,17 @@

Versions Elsewhere

{% endif %}{% endwith %} +
+ + + + + + + +
+ +
@@ -102,10 +113,10 @@

Versions Elsewhere

{% endifequal %} - + - @@ -186,9 +197,9 @@

Versions Elsewhere

{{ flag_request.message|linebreaksbr|default:"{no message}" }}
{% endif %}{% endwith %}{% endif %}
Architecture:
Description:{{ pkg.pkgdesc|default:"" }}{{ pkg.pkgdesc|default:"" }}
Upstream URL:{% if pkg.url %}{% if pkg.url %}{% endif %}
License(s):
+
- {% with pkg.get_depends as deps %}

@@ -198,7 +209,6 @@

{% endif %}

{% endwith %} - {% with pkg.get_requiredby as rqdby %}

@@ -208,7 +218,6 @@

{% endif %}

{% endwith %} -

Package Contents

@@ -218,9 +227,7 @@

View the file list for {{ pkg.pkgname }}

- - {% load cdn %}{% jquery %} -- cgit v1.2.3-54-g00ecf