From fb98874ebf3605e5d02fdcf15f4c1cc5d5f65255 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 1 Feb 2015 16:50:14 -0800 Subject: [PATCH] add go meta tags as bare pages --- controllers/go.moon | 4 ++-- views/repo.moon | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/controllers/go.moon b/controllers/go.moon index acaa309..619ea6c 100644 --- a/controllers/go.moon +++ b/controllers/go.moon @@ -5,10 +5,10 @@ class Go extends lapis.Application @kind = "github" @repo = @params.name - render: true + render: true, layout: false [repo: "/go/xeserv/*"]: => @kind = "xeserv" @repo = @params.splat - render: true + render: true, layout: false diff --git a/views/repo.moon b/views/repo.moon index 870d2d1..659fde5 100644 --- a/views/repo.moon +++ b/views/repo.moon @@ -6,12 +6,3 @@ class Repo extends Widget 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}" - - 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."