diff --git a/html/index.html.erb b/html/index.html.erb index 3e40d679..93309518 100644 --- a/html/index.html.erb +++ b/html/index.html.erb @@ -13,9 +13,9 @@ package.version = versions.join('.') package.url = "packages/#{package.name}-#{package.version}." + (package.pkgtype == "single" ? "el" : "tar") package.recipe_url = "https://github.com/milkypostman/melpa/blob/master/recipes/#{package.name}" - package.source = 'unknown' + package.source = recipe["fetcher"] if package.descr =~ /(.*?)(\s*-\*-.*?)?\s*\[source:\s*(\w+)\]\s*/ - package.descr, package.source = $1, $3 + package.descr end package.source_url =