remove xeserv imports

This commit is contained in:
Christine Dodrill 2015-02-03 10:04:03 -08:00
parent def3e0d8c9
commit ca5a158834
2 changed files with 2 additions and 10 deletions

View File

@ -6,9 +6,3 @@ class Go extends lapis.Application
@repo = @params.name
render: true, layout: false
[repo: "/go/xeserv/*"]: =>
@kind = "xeserv"
@repo = @params.splat
render: true, layout: false

View File

@ -2,7 +2,5 @@ import Widget from require "lapis.html"
class Repo extends Widget
content: =>
if @kind == "xeserv"
meta name: "go-import", content: "christine.website/go/xeserv/#{@repo} git http://git.xeserv.us/#{repo}"
else
meta name: "go-import", content: "christine.website/go/#{@repo} git https://github.com/Xe/#{@repo}"
meta name: "go-import", content: "christine.website/go/#{@repo} git https://github.com/Xe/#{@repo}"
meta ["http-equiv"]: "refresh", content: "1;http://godoc.org/christine.website/go/#{@repo}"