add go meta tags as bare pages
This commit is contained in:
parent
3c0fbb5271
commit
fb98874ebf
|
@ -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
|
||||||
|
|
|
@ -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."
|
|
||||||
|
|
Loading…
Reference in New Issue