cleanup downloads page sample
diff --git a/asfdata.yaml b/asfdata.yaml
index 4458fbb..0f49437 100644
--- a/asfdata.yaml
+++ b/asfdata.yaml
@@ -107,8 +107,8 @@
count: 1
#
# used on downloads.ezmd
-openoffice:
+release:
# load a sequence of release distributions
release: openoffice
src: src
- revision:
\ No newline at end of file
+ revision: True
diff --git a/content/downloads.ezmd b/content/downloads.ezmd
index 1a1a6c7..7ee6b7c 100644
--- a/content/downloads.ezmd
+++ b/content/downloads.ezmd
@@ -6,11 +6,11 @@
## Keys
-[[]KEYS]([openoffice-keys])
+[[]KEYS]([release-keys])
-[for openoffice]
-## Version [openoffice.version]
-[for openoffice.release]* [[][openoffice.release.release]](https://downloads.apache.org/openoffice/[openoffice.version]/[openoffice.release.release])
- [[]signature](https://dist.apache.org/repos/dist/openoffice/[openoffice.version]/[openoffice.release.signature])
- [[]checksum](https://dist.apache.org/repos/dist/openoffice/[openoffice.version]/[openoffice.release.checksum])
+[for release]
+## Version [release.name]
+[for release.release]* [[][release.release.release]](https://downloads.apache.org/release/[release.version]/[release.release.release])
+ -- ([[]signature](https://dist.apache.org/repos/dist/release/[release.version]/[release.release.signature]))
+ -- ([[]checksum](https://dist.apache.org/repos/dist/release/[release.version]/[release.release.checksum]))
[end][end]
diff --git a/theme/plugins/asfdata.py b/theme/plugins/asfdata.py
index 08bc96b..d0e61a6 100644
--- a/theme/plugins/asfdata.py
+++ b/theme/plugins/asfdata.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -B
+!/usr/bin/python -B
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -440,6 +440,7 @@
for version in each_version:
each_version[version].sort(key=lambda x: (-x.revision, x.release))
distributions.append( Version(version=version,
+ name=' '.join(version.split('/')),
revision=each_version[version][0].revision,
release=each_version[version]))
distributions.sort(key=lambda x: (-x.revision, x.version))