Host snippets with a git backend. Like Gists but OpenSource. https://gist.sigpipe.me/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

9 lines
203 B

package routers
import "dev.sigpipe.me/dashie/git.txt/context"
// NotFound 404
func NotFound(ctx *context.Context) {
ctx.Title(ctx.Tr("error.page_not_found"))
ctx.Handle(404, "home.NotFound", nil)
}