add go meta tags as bare pages

This commit is contained in:
Christine Dodrill 2015-02-01 16:50:14 -08:00
parent 3c0fbb5271
commit fb98874ebf
2 changed files with 2 additions and 11 deletions

View File

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

View File

@ -6,12 +6,3 @@ class Repo extends Widget
meta name: "go-import", content: "christine.website/go/xeserv/#{@repo} git http://git.xeserv.us/#{repo}" meta name: "go-import", content: "christine.website/go/xeserv/#{@repo} git http://git.xeserv.us/#{repo}"
else 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}"
center ->
h1 ->
text "Link"
p class: "lead", ->
text "This is a page for "
a href: "http://golang.org", "Go"
text " redirection for repository downloads. This page won't be any use to you in a browser."