diff --git a/html/index.erb b/html/index.erb
index 22f218f0..2a53c265 100644
--- a/html/index.erb
+++ b/html/index.erb
@@ -45,12 +45,13 @@
data.map! do |row|
pkgname = row[0]
+ pkgurl = "packages/#{row[0]}-#{row[1]}." + (row[-1] == "single" ? "el" : "tar")
recipe_url = "https://github.com/milkypostman/melpa/blob/master/recipes/#{pkgname}"
descr, source = row[3..-2].join(" "), "other"
if descr =~ /(.*?)\s*\[source:\s*(\w+)\]\s*/
descr, source = $1, $2
end
- [pkgname, row[1][0], descr, "[#{source}](#{recipe_url})"]
+ ["[#{pkgname}](#{pkgurl})", row[1][0], descr, "[#{source}](#{recipe_url})"]
end
data.sort!
diff --git a/html/style.css b/html/style.css
index a9f0adf5..a0d6d9e3 100644
--- a/html/style.css
+++ b/html/style.css
@@ -53,7 +53,9 @@ pre code {
pre {
background: #000;
color: #fff;
- padding: 15px;}
+ padding: 15px;
+}
+
hr {
border: 0;
width: 80%;
@@ -78,6 +80,14 @@ td, th {
padding: 2px 7px 2px 7px;
}
+tr {
+ color: #ddd;
+}
+
+td:first-child a {
+ color: #fff;
+}
+
tr.header {
color: #000;
background-color: #fad;